ocrcc-chatbox/__mocks__/matrix-js-sdk.js

11 lines
258 B
JavaScript
Raw Normal View History

export const mockCreateClient = jest.fn();
export const mockStartClient = jest.fn();
const mockMatrix = jest.fn().mockImplementation(() => {
return {
createClient: mockCreateClient,
startClient: mockStartClient
};
});
export default mockMatrix;