New Room List: Move tests that are in the wrong location (#29584)

* Move test to room-list-filter-sort.spec.ts

This test should reside with all the other filter related tests.

* Move sorting tests out of filter describe block

These two tests somehow ended up in the wrong block!

* Fix lint
This commit is contained in:
R Midhun Suresh
2025-03-25 17:48:58 +05:30
committed by GitHub
parent 102a1ddb9e
commit 690d623dcf
3 changed files with 32 additions and 39 deletions

View File

@@ -239,7 +239,9 @@ describe("RoomListViewModel", () => {
expect(vm.current.primaryFilters.find((f) => f.name === primaryFilterName)).toBeUndefined();
});
});
});
describe("Sorting", () => {
it("should change sort order", () => {
mockAndCreateRooms();
const { result: vm } = renderHook(() => useRoomListViewModel());