Skip to content

Commit 9cb8e9b

Browse files
committed
fix: jest config fie
1 parent e6ef2d5 commit 9cb8e9b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const jestConfig: Config = {
44
clearMocks: true,
55
maxWorkers: 1,
66
testEnvironment: "node",
7-
testMatch: ["**/packages/**/*.test.ts"],
7+
testMatch: ["**/src/**/*.test.ts"],
88
setupFiles: ["dotenv/config"],
99
preset: "ts-jest",
1010
moduleNameMapper: {

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"test": "jest"
2929
},
3030
"devDependencies": {
31+
"@types/jest": "^29.5.12",
32+
"dotenv": "^16.4.5",
3133
"eslint": "^8.57.0",
34+
"jest": "^29.7.0",
35+
"ts-jest": "^29.1.2",
3236
"tsup": "^8.0.2",
3337
"typescript": "^5.3.3"
3438
},

0 commit comments

Comments
 (0)