Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg authored Apr 16, 2018
1 parent 56d6d1f commit e885fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function (chai, utils) {
);
});

utils.addProperty(Assertion.prototype, 'jwt', function () {
Assertion.addMethod('jwt', function () {
const decoded = jwt.decode(this._obj);

this.assert(
Expand Down

0 comments on commit e885fd9

Please sign in to comment.