You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -111,7 +111,7 @@ describe('signing a token asynchronously', function() {
111
111
it('should return an error if the secret is falsy and algorithm is not set to none: '+(typeofsecret==='string' ? '(empty string)' : secret),function(done){
112
112
// This is needed since jws will not answer for falsy secrets
113
113
jwt.sign('string',secret,{},function(err,token){
114
-
expect(err).to.be.exist();
114
+
expect(err).to.exist;
115
115
expect(err.message).to.equal('secretOrPrivateKey must have a value');
0 commit comments