added test suite for chatbox, use accept/reject buttons for ToS instead of typing answer

This commit is contained in:
Sharon Kennedy
2020-03-12 13:08:57 -04:00
parent 1c96d11443
commit a97696f687
11 changed files with 324 additions and 262 deletions

View File

@@ -0,0 +1,11 @@
export const mockCreateClient = jest.fn();
export const mockStartClient = jest.fn();
const mockMatrix = jest.fn().mockImplementation(() => {
return {
createClient: mockCreateClient,
startClient: mockStartClient
};
});
export default mockMatrix;