Skip to content
Snippets Groups Projects
Commit f56c2c8a authored by David Baker's avatar David Baker
Browse files

Use room notification API in test to avoid including threads

parent c9b3f77a
No related tags found
No related merge requests found
...@@ -360,7 +360,7 @@ describe("SlidingSyncSdk", () => { ...@@ -360,7 +360,7 @@ describe("SlidingSyncSdk", () => {
await emitPromise(client!, ClientEvent.Room); await emitPromise(client!, ClientEvent.Room);
const gotRoom = client!.getRoom(roomD); const gotRoom = client!.getRoom(roomD);
expect(gotRoom).toBeTruthy(); expect(gotRoom).toBeTruthy();
expect(gotRoom!.getUnreadNotificationCount(NotificationCountType.Total)).toEqual( expect(gotRoom!.getRoomUnreadNotificationCount(NotificationCountType.Total)).toEqual(
data[roomD].notification_count, data[roomD].notification_count,
); );
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment