Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit f9a95dc

Browse files
committed
Fix broken test
1 parent cc27d78 commit f9a95dc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/stores/ReleaseAnnouncementStore-test.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ describe("ReleaseAnnouncementStore", () => {
101101

102102
const promise = listenReleaseAnnouncementChanged();
103103
await releaseAnnouncementStore.nextReleaseAnnouncement();
104-
// Currently there is only one feature, so the next feature should be null
105-
expect(await promise).toBeNull();
104+
105+
expect(await promise).toBe("newRoomHeader");
106106
expect(releaseAnnouncementStore.getReleaseAnnouncement()).toBeNull();
107107

108108
const secondStore = new ReleaseAnnouncementStore();
@@ -118,8 +118,7 @@ describe("ReleaseAnnouncementStore", () => {
118118
const promise = listenReleaseAnnouncementChanged();
119119
await secondStore.nextReleaseAnnouncement();
120120

121-
// Currently there is only one feature, so the next feature should be null
122-
expect(await promise).toBeNull();
121+
expect(await promise).toBe("newRoomHeader");
123122
expect(releaseAnnouncementStore.getReleaseAnnouncement()).toBeNull();
124123
});
125124
});

0 commit comments

Comments
 (0)