Skip to content

Commit

Permalink
Use named Jest imports rather than globals (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored Jul 26, 2023
1 parent bf3dd53 commit e744ed1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
21 changes: 0 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/jest": "^29.5.3",
"jest": "^29.6.0",
"jest-environment-jsdom": "^29.6.0",
"jest-junit": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jwt_decode, { InvalidTokenError, JwtPayload } from "./../lib/index";
import { expect } from "@jest/globals";
import { describe, expect, it } from "@jest/globals";

var token =
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJleHAiOjEzOTMyODY4OTMsImlhdCI6MTM5MzI2ODg5M30.4-iaDojEVl0pJQMjrbM1EzUIfAZgsbK_kgnVyVxFSVo";
Expand Down

0 comments on commit e744ed1

Please sign in to comment.