Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit bb3f4ec

Browse files
committed
Lifecycle-test.ts updated
Signed-off-by: Mikhail Aheichyk <[email protected]>
1 parent 863904f commit bb3f4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-utils/test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export function createTestClient(): MatrixClient {
233233
}),
234234
startClient: jest.fn().mockResolvedValue(undefined),
235235
stopClient: jest.fn().mockReturnValue(undefined),
236-
removeAllListeners: jest.fn().mockResolvedValue(undefined),
236+
removeAllListeners: jest.fn().mockReturnValue(undefined),
237237
} as unknown as MatrixClient;
238238

239239
client.reEmitter = new ReEmitter(client);

0 commit comments

Comments
 (0)