Skip to content

Commit

Permalink
fix: allow stubbing of the JWT.decode function
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 29, 2020
1 parent 9cb049b commit 6c3b92f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/jwt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ module.exports = {

Object.defineProperty(module.exports, 'decode', {
enumerable: false,
configurable: true,
value: decode
})

0 comments on commit 6c3b92f

Please sign in to comment.