Skip to content

Commit 8857ee7

Browse files
author
Neuti Yoo
authored
test: remove unused variable (#96)
1 parent 1389f6d commit 8857ee7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/jws.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,8 @@ test('jws.decode: with invalid json in body', function (t) {
295295
const header = Buffer.from('{"alg":"HS256","typ":"JWT"}').toString('base64');
296296
const payload = Buffer.from('sup').toString('base64');
297297
const sig = header + '.' + payload + '.';
298-
var parts;
299298
t.throws(function () {
300-
parts = jws.decode(sig);
299+
jws.decode(sig);
301300
})
302301
t.end();
303302
});

0 commit comments

Comments
 (0)