Skip to content

Commit

Permalink
test: remove unused variable (auth0#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neuti Yoo authored Sep 5, 2020
1 parent 1389f6d commit 8857ee7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/jws.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ test('jws.decode: with invalid json in body', function (t) {
const header = Buffer.from('{"alg":"HS256","typ":"JWT"}').toString('base64');
const payload = Buffer.from('sup').toString('base64');
const sig = header + '.' + payload + '.';
var parts;
t.throws(function () {
parts = jws.decode(sig);
jws.decode(sig);
})
t.end();
});
Expand Down

0 comments on commit 8857ee7

Please sign in to comment.