Skip to content

Commit 69391c9

Browse files
author
Tim Mendoza
committed
Fix test
1 parent 7b798de commit 69391c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/serverless/functions/token.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('the video-token-server', () => {
5959
);
6060

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

0 commit comments

Comments
 (0)