From 545b77a3f857fde72cc4336b97ef05dd6603248f Mon Sep 17 00:00:00 2001 From: "Carl W. Irving" Date: Mon, 22 Jul 2024 17:22:23 -0500 Subject: [PATCH] Fix the tests --- mod.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.test.ts b/mod.test.ts index 1ed6548..390d524 100644 --- a/mod.test.ts +++ b/mod.test.ts @@ -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, );