From 4f7dd78ef019ed5020c27ac231a406d869d14e06 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Fri, 23 Feb 2024 20:07:52 +0100 Subject: [PATCH] style: apply linting rules in test suite --- packages/jsonwebtoken/__tests__/jsonwebtoken.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {