Skip to content

Commit 50ddd47

Browse files
Bewinxedclaude
andcommitted
fix: Update notification registry test to expect correct List notification count
The test creates 2 lists and updates 1, so it should expect 3 List notifications (2 INSERTs + 1 UPDATE), not 2. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 46de256 commit 50ddd47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/notification-registry.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ describe('Notification Registry and Unified Subscription', () => {
254254
5000
255255
),
256256
waitForCondition(
257-
() => receivedNotifications[channels.list].length >= 2,
257+
() => receivedNotifications[channels.list].length >= 3,
258258
5000
259259
),
260260
waitForCondition(
@@ -272,7 +272,7 @@ describe('Notification Registry and Unified Subscription', () => {
272272

273273
// Verify we got the correct number of notifications for each channel
274274
expect(receivedNotifications[channels.item].length).toBe(4);
275-
expect(receivedNotifications[channels.list].length).toBe(2);
275+
expect(receivedNotifications[channels.list].length).toBe(3);
276276
expect(receivedNotifications[channels.uwu].length).toBe(1);
277277

278278
// Verify item notifications
@@ -303,7 +303,7 @@ describe('Notification Registry and Unified Subscription', () => {
303303
(n) => n.operation === 'UPDATE'
304304
);
305305

306-
expect(listInserts.length).toBe(1);
306+
expect(listInserts.length).toBe(2);
307307
expect(listUpdates.length).toBe(1);
308308

309309
// Verify specific list data

0 commit comments

Comments
 (0)