Skip to content

Commit 4c36571

Browse files
authored
Merge pull request #6 from adobe/feature/4-fix-unit-test
#4 fix unit test for getToken
2 parents 2d38972 + c3da4bf commit 4c36571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)