Skip to content

Commit

Permalink
mock focus trap in room member page
Browse files Browse the repository at this point in the history
  • Loading branch information
NFriedo committed Dec 16, 2024
1 parent ab45e43 commit d67ee0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/page/room/RoomMembers.page.unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const useRouteMock = <jest.Mock>useRoute;
jest.mock("../../data/room/roomMembers/roomMembers.composable");
const mockUseRoomMembers = jest.mocked(useRoomMembers);

jest.mock("@vueuse/integrations"); // mock focus trap from add members because we use mount

describe("RoomMembersPage", () => {
let router: DeepMocked<Router>;
let route: DeepMocked<ReturnType<typeof useRoute>>;
Expand Down

0 comments on commit d67ee0b

Please sign in to comment.