Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Mendoza committed Mar 30, 2021
1 parent 7b798de commit 69391c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/serverless/functions/token.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('the video-token-server', () => {
);

expect(mockFns.createRoom).toHaveBeenCalledWith({ type: 'group', uniqueName: 'test-room' });
expect(mockFns.createConversation).toHaveBeenCalledWith({ uniqueName: 'mockNewRoomSid' });
expect(mockFns.createConversation).toHaveBeenCalledWith({ uniqueName: 'mockNewRoomSid', 'timers.closed': 'P1D' });
expect(callback).toHaveBeenCalledWith(null, {
body: { token: expect.any(String), room_type: 'group' },
headers: { 'Content-Type': 'application/json' },
Expand Down

0 comments on commit 69391c9

Please sign in to comment.