Skip to content

Commit bd4abb7

Browse files
committed
fix(config): added jest configuration file
1 parent 5804c91 commit bd4abb7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

configs/jest.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
coverageDirectory: "./coverage/",
3+
collectCoverage: true,
4+
transform: {
5+
".(ts|js)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
6+
},
7+
testEnvironment: "node",
8+
bail: true,
9+
moduleFileExtensions: ["ts", "js"],
10+
testMatch: ["<rootDir>/src/**/*.(test|spec).(ts|js)"]
11+
};

0 commit comments

Comments
 (0)