(err, decoded)
| 41 | |
| 42 | it('should be able to validate without options', function(done) { |
| 43 | var callback = function(err, decoded) { |
| 44 | assert.ok(decoded.foo); |
| 45 | assert.equal('bar', decoded.foo); |
| 46 | done(); |
| 47 | }; |
| 48 | callback.issuer = "shouldn't affect"; |
| 49 | jwt.verify(token, secret, callback ); |
| 50 | }); |
no outgoing calls
no test coverage detected