Skip to content

Commit

Permalink
fix RoomTile-test
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Aug 15, 2023
1 parent cf1a849 commit 20a4703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/views/rooms/RoomTile-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe("RoomTile", () => {
afterEach(() => {
// @ts-ignore
MessagePreviewStore.instance.previews = new Map<string, Map<TagID | TAG_ANY, MessagePreview | null>>();
jest.restoreAllMocks();
jest.clearAllMocks();
});

describe("when message previews are not enabled", () => {
Expand Down

0 comments on commit 20a4703

Please sign in to comment.