We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c6769c + c120555 commit 071d264Copy full SHA for 071d264
1 file changed
test/unit/auth/auth.spec.ts
@@ -3895,8 +3895,8 @@ AUTH_CONFIGS.forEach((testConfig) => {
3895
expect(decoded).to.have.property('header').that.has.property('alg', 'none');
3896
expect(decoded).to.have.property('payload').that.has.property('uid', 'uid1');
3897
3898
- // Make sure this doesn't throw
3899
- jwt.verify(token, undefined as any, { algorithms: ['none'] });
+ // Make sure this doesn't throw when decoding the token
+ jwt.decode(token);
3900
});
3901
3902
it('verifyIdToken() should reject revoked ID tokens', () => {
0 commit comments