Skip to content

Commit 692500d

Browse files
author
Tim Mendoza
committed
Remove old test
1 parent 0e6aa10 commit 692500d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

test/video-token-server.test.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -114,23 +114,6 @@ describe('the video-token-server', () => {
114114
});
115115
});
116116

117-
it('should ignore spaces in the passcode', () => {
118-
Date.now = () => 5;
119-
handler(
120-
mockContext,
121-
{ passcode: '123 456 1234 5678', room_name: 'test-room', user_identity: 'test-user' },
122-
callback
123-
);
124-
125-
expect(callback).toHaveBeenCalledWith(null, {
126-
body: { token: expect.any(String) },
127-
headers: { 'Content-Type': 'application/json' },
128-
statusCode: 200,
129-
});
130-
131-
expect(jwt.verify(callback.mock.calls[0][1].body.token, 'api_secret')).toBeTruthy();
132-
});
133-
134117
describe('when using an old form URL "video-app-XXXX-dev.twil.io', () => {
135118
it('should return a valid token when passcode, room_name, and user_identity parameters are supplied', () => {
136119
Date.now = () => 5;

0 commit comments

Comments
 (0)