Skip to content

Commit

Permalink
chore: update test description
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Jul 28, 2023
1 parent 08beadc commit b78191d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var token =
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJleHAiOjEzOTMyODY4OTMsImlhdCI6MTM5MzI2ODg5M30.4-iaDojEVl0pJQMjrbM1EzUIfAZgsbK_kgnVyVxFSVo";

describe("jwt-decode", function () {
it("should fail to construct without a clientID", function () {
it("should return default and custom claims", function () {
var decoded = jwt_decode<JwtPayload & { foo: string }>(token);
expect(decoded.exp).toEqual(1393286893);
expect(decoded.iat).toEqual(1393268893);
Expand Down

0 comments on commit b78191d

Please sign in to comment.