Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.afterEach(function() {
if (jwt.verify.restore) {
jwt.verify.restore();
}
if (jwksClient.restore) {
jwksClient.restore();
}
});
it('Calls `oauth.create` with correct params', function(done) {