fix(core): update

This commit is contained in:
2022-12-22 17:23:23 +01:00
parent 90b3ff40f4
commit 239fd7f000
6 changed files with 10 additions and 14 deletions

View File

@ -4,10 +4,10 @@ import * as webjwt from '../ts/index.js';
tap.test('first test', async () => {
const originalString = JSON.stringify({
a: {
"complex_2": {
"object": "yes",
}
}
complex_2: {
object: 'yes',
},
},
});
const stringToDecode = `abc.${btoa(originalString)}.rthgf`;
const result = webjwt.getDataFromJwtString(stringToDecode);