Skip to content

Commit c3da4bf

Browse files
committed
#4 fix unit test for getToken
1 parent 2d38972 commit c3da4bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/auth.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ beforeAll(() => {
3030

3131
test('AUTH: should throw without params', () => {
3232
const promise = getToken()
33-
return expect(promise).rejects.toThrow('The "path" argument must be of type string. Received undefined')
33+
return expect(promise).rejects.toThrow('The "path" argument must be of type string. Received')
3434
})
3535

3636
test('AUTH: should throw with invalid path', () => {

0 commit comments

Comments
 (0)