Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cwirving committed Jul 22, 2024
1 parent 0e601c9 commit 545b77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ test("validateJWT() throws JWTValidationError on stripped token", async () => {
// unsigned token as the real item.
const jwtString = await signJWT(payload, false);

assertRejects(
await assertRejects(
() => validateJWT(jwtString, keyPair.publicKey),
JWTValidationError,
);
Expand Down

0 comments on commit 545b77a

Please sign in to comment.