Skip to content

Commit

Permalink
chore(js): fix unit test description of decodeIdToken
Browse files Browse the repository at this point in the history
  • Loading branch information
IceHe committed Jan 20, 2022
1 parent 452347f commit edda16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/utils/id-token.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('decodeIdToken', () => {
expect(() => decodeIdToken(jwt)).toThrowError(StructError);
});

test('decoding valid JWT without issued time should throw StructError', async () => {
test('decoding valid JWT without issued at time should throw StructError', async () => {
const { privateKey } = await generateKeyPair('RS256');
const jwt = await new SignJWT({})
.setProtectedHeader({ alg: 'RS256' })
Expand Down

0 comments on commit edda16f

Please sign in to comment.