From 69391c9322ea0c2d6f0750b743a6c4159631eff2 Mon Sep 17 00:00:00 2001 From: Tim Mendoza Date: Tue, 30 Mar 2021 17:08:05 -0600 Subject: [PATCH] Fix test --- test/serverless/functions/token.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/serverless/functions/token.test.js b/test/serverless/functions/token.test.js index c512294..82cc15b 100644 --- a/test/serverless/functions/token.test.js +++ b/test/serverless/functions/token.test.js @@ -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' },