Skip to content

Commit

Permalink
jest troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkmin committed Sep 15, 2023
1 parent 138f9a3 commit c27f807
Show file tree
Hide file tree
Showing 4 changed files with 499 additions and 301 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@tsconfig/node16-strictest": "^1.0.4",
"@turnkey/jest-config": "workspace:*",
"@types/node": "^16.0.0",
"jest": "^29.3.1",
"jest": "^29.7.0",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"tsx": "^3.12.7",
Expand Down
3 changes: 3 additions & 0 deletions packages/http/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const config = {
testMatch: ["**/__tests__/**/*-(spec|test).[jt]s?(x)"],
testPathIgnorePatterns: ["<rootDir>/dist/", "<rootDir>/node_modules/"],
testTimeout: 30 * 1000, // For slow CI machines
globals: {
fetch: global.fetch,
}
};

module.exports = config;
5 changes: 3 additions & 2 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
"typecheck": "tsc -p tsconfig.typecheck.json"
},
"dependencies": {
"cross-fetch": "^3.1.5",
"@turnkey/api-key-stamper": "workspace:*",
"@turnkey/webauthn-stamper": "workspace:*"
"@turnkey/webauthn-stamper": "workspace:*",
"cross-fetch": "^3.1.5",
"jest": "^29.7.0"
},
"engines": {
"node": ">=16.0.0"
Expand Down
Loading

0 comments on commit c27f807

Please sign in to comment.