From f0d46d386ae1d2039b8ec26898fceec183fdd031 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Wed, 3 Jan 2024 20:30:32 +0100 Subject: [PATCH] remove dead code --- src/vendors/jwt/jwt-verify.test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/vendors/jwt/jwt-verify.test.ts b/src/vendors/jwt/jwt-verify.test.ts index eefae4f..50f7871 100644 --- a/src/vendors/jwt/jwt-verify.test.ts +++ b/src/vendors/jwt/jwt-verify.test.ts @@ -4,7 +4,6 @@ import { checkJwtFields, parseJwt, checkTokenValidness - // checkTokenValidness } from "./jwt-verify"; import { JwtAlgorithmsEnum as Algs, @@ -19,8 +18,6 @@ const DUMMY_HS256_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"; const DUMMY_NON_JWT_TOKEN = "hello-i-am-not-a-jwt"; -// import { default as nock } from "nock"; - it("extract properly token headers", async () => { const headers = parseJwt(DUMMY_HS256_TOKEN, JwtParts.HEADER); expect(headers).toBeTruthy();