Skip to content

feat(entities): Implement watch() method for live query subscriptions #327

feat(entities): Implement watch() method for live query subscriptions

feat(entities): Implement watch() method for live query subscriptions #327

Triggered via pull request January 26, 2026 08:52
Status Failure
Total duration 30s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
tests/unit/entities-watch.test.ts > EntityHandler.watch > should apply limit to initial data: tests/unit/entities-watch.test.ts#L436
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:436:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should apply sorting to initial data: tests/unit/entities-watch.test.ts#L410
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:410:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should fallback to data.id when id is not provided in message: tests/unit/entities-watch.test.ts#L329
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:329:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle delete event type with removed change type: tests/unit/entities-watch.test.ts#L296
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:296:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle invalid JSON gracefully: tests/unit/entities-watch.test.ts#L241
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:241:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle callback errors gracefully: tests/unit/entities-watch.test.ts#L221
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:221:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle removed change type from socket: tests/unit/entities-watch.test.ts#L184
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:184:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle modified change type from socket: tests/unit/entities-watch.test.ts#L147
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:147:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should handle added change type from socket: tests/unit/entities-watch.test.ts#L113
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:113:24
tests/unit/entities-watch.test.ts > EntityHandler.watch > should fetch initial data and call callback with snapshot: tests/unit/entities-watch.test.ts#L93
AssertionError: expected "spy" to be called at least once ❯ tests/unit/entities-watch.test.ts:93:24