Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrrt authored Jan 3, 2024
1 parent 3cb308c commit f0d46d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vendors/jwt/jwt-verify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
checkJwtFields,
parseJwt,
checkTokenValidness
// checkTokenValidness
} from "./jwt-verify";
import {
JwtAlgorithmsEnum as Algs,
Expand All @@ -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();
Expand Down

0 comments on commit f0d46d3

Please sign in to comment.