Skip to content

Commit 8111305

Browse files
authored
feat: clean up auth flows (#411)
* feat: clean up auth flows * try catch around getJwt * unit tests * remove unused route
1 parent db1a5a9 commit 8111305

File tree

10 files changed

+799
-197
lines changed

10 files changed

+799
-197
lines changed

.jest/setEnvVars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
process.env.THIRDWEB_API_SECRET_KEY = "my-thirdweb-secret-key";

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
preset: "ts-jest",
33
testEnvironment: "node",
4-
// Add any other Jest configuration options here
4+
setupFiles: ["<rootDir>/.jest/setEnvVars.js"],
55
};

0 commit comments

Comments
 (0)