diff --git a/packages/jsonwebtoken/__tests__/jsonwebtoken.spec.ts b/packages/jsonwebtoken/__tests__/jsonwebtoken.spec.ts index 63e16951..44f4c0e6 100644 --- a/packages/jsonwebtoken/__tests__/jsonwebtoken.spec.ts +++ b/packages/jsonwebtoken/__tests__/jsonwebtoken.spec.ts @@ -40,8 +40,8 @@ test('should decode header', async (t) => { const token = await sign(claims, secretKey, headers) - const header = decodeHeader(token); - t.is(header.algorithm, Algorithm.HS384); + const header = decodeHeader(token) + t.is(header.algorithm, Algorithm.HS384) }) test('verify should return the decoded claims', async (t) => {