From 27c659533e0a1760b12d5b06e45c773e947efc7e Mon Sep 17 00:00:00 2001 From: John Tore Simonsen Date: Fri, 20 Sep 2024 10:43:42 +0200 Subject: [PATCH] eslint --- test/components/views/dialogs/InviteDialog-test.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/components/views/dialogs/InviteDialog-test.tsx b/test/components/views/dialogs/InviteDialog-test.tsx index c404b3f6463..9ef8515641d 100644 --- a/test/components/views/dialogs/InviteDialog-test.tsx +++ b/test/components/views/dialogs/InviteDialog-test.tsx @@ -21,6 +21,7 @@ import { RoomType, MatrixClient, MatrixError, Room } from "matrix-js-sdk/src/mat import { KnownMembership } from "matrix-js-sdk/src/types"; import { sleep } from "matrix-js-sdk/src/utils"; import { mocked, Mocked } from "jest-mock"; + import InviteDialog from "../../../../src/components/views/dialogs/InviteDialog"; import { InviteKind } from "../../../../src/components/views/dialogs/InviteDialogTypes"; import { @@ -217,9 +218,7 @@ describe("InviteDialog", () => { beforeEach(() => { // Mock activeSpaceRoom to be an object with getJoinedMembers method const roomMock: Partial = { - getJoinedMembers: jest - .fn() - .mockReturnValue([mockSpaceMembers/* mock RoomMember[] */]), + getJoinedMembers: jest.fn().mockReturnValue([mockSpaceMembers /* mock RoomMember[] */]), }; const mockBuildMembers = jest.spyOn(SortMembers, "buildMemberScores"); mockBuildMembers.mockImplementation(() => {