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
@@ -66,7 +84,7 @@ describe('signing a token asynchronously', function() {
66
84
67
85
describe('secret must have a value',function(){
68
86
[undefined,'',0].forEach(function(secret){
69
-
it('should return an error if the secret is falsy: '+(typeofsecret==='string' ? '(empty string)' : secret),function(done){
87
+
it('should return an error if the secret is falsy and algorithm is not set to none: '+(typeofsecret==='string' ? '(empty string)' : secret),function(done){
70
88
// This is needed since jws will not answer for falsy secrets
0 commit comments