This commit is contained in:
14
jest.config.js
Normal file
14
jest.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
roots: ["<rootDir>/tests", "<rootDir>/src"],
|
||||
testMatch: ["**/*.test.ts"],
|
||||
collectCoverageFrom: ["src/**/*.ts"],
|
||||
coverageDirectory: "coverage",
|
||||
moduleFileExtensions: ["ts", "js", "json"],
|
||||
verbose: true,
|
||||
isolatedModules: true,
|
||||
moduleNameMapper: {
|
||||
"^(\\.{1,2}/.*)\\.js$": '$1'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user