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

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 24, 2023
1 parent b010525 commit b2aee04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-utils/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const mockClientMethodsUser = (userId = "@alice:domain") => ({
getAccessToken: jest.fn(),
getDeviceId: jest.fn(),
getAccountData: jest.fn(),
getCrypto: jest.fn(),
});

/**
Expand Down Expand Up @@ -134,6 +135,7 @@ export const mockClientMethodsServer = (): Partial<Record<MethodLikeKeys<MatrixC
isVersionSupported: jest.fn().mockResolvedValue(false),
getVersions: jest.fn().mockResolvedValue({}),
isFallbackICEServerAllowed: jest.fn(),
getCrypto: jest.fn(),
});

export const mockClientMethodsDevice = (
Expand Down

0 comments on commit b2aee04

Please sign in to comment.