Skip to content

Commit f44c09e

Browse files
test(isJWT): add cases to cover line 12 and line 34 branches
1 parent d141406 commit f44c09e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/validators.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5560,6 +5560,8 @@ describe('Validators', () => {
55605560
'eyJmb28iOiJiYXIifQ.W10=.',
55615561
'bnVsbA.eyJiYXIiOiJiYXoifQ.',
55625562
'WzFd.eyJiYXIiOiJiYXoifQ.',
5563+
'ImhlbGxvIg.eyJiYXIiOiJiYXoifQ.',
5564+
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.invalid$sig',
55635565
],
55645566
error: [
55655567
[],

0 commit comments

Comments
 (0)