We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209c2bf commit 0939b7dCopy full SHA for 0939b7d
1 file changed
apps/web/test/viewmodels/room-list/RoomListHeaderViewModel-test.ts
@@ -315,7 +315,9 @@ describe("RoomListHeaderViewModel", () => {
315
});
316
317
it("should call createSection on RoomListStoreV3 when createSection is called", () => {
318
- const createSectionSpy = jest.spyOn(RoomListStoreV3.instance, "createSection").mockResolvedValue();
+ const createSectionSpy = jest
319
+ .spyOn(RoomListStoreV3.instance, "createSection")
320
+ .mockResolvedValue("element.io.section.work");
321
vm = new RoomListHeaderViewModel({ matrixClient, spaceStore: SpaceStore.instance });
322
vm.createSection();
323
expect(createSectionSpy).toHaveBeenCalled();
0 commit comments