We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c9e78 commit b884aecCopy full SHA for b884aec
test/test.js
@@ -16,4 +16,9 @@ describe('jwt library wrapper (jwt.js)', function () {
16
expect(result.error).to.be.equal(null);
17
expect(result.result).to.be(true);
18
});
19
+ it('should decode with two underscores', function () {
20
+ var result = window.decode('eyI_IjoiYWE_In0');
21
+ expect(result.error).to.be.equal(null);
22
+ expect(result.result).to.be('{\n "?": "aa?"\n}');
23
+ });
24
0 commit comments