Skip to content

Commit

Permalink
update jest config
Browse files Browse the repository at this point in the history
tktcorporation committed Aug 1, 2020
1 parent 0424b10 commit 3575aaf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
moduleFileExtensions: ["js", "json", "ts"],
rootDir: ".",
testRegex: ".spec.ts$",
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: '.',
testRegex: '.spec.ts$',
transform: {
"^.+\\.(t|j)s$": "ts-jest",
'^.+\\.(t|j)s$': 'ts-jest',
},
moduleNameMapper: {
"src(.*)$": "<rootDir>/src/$1",
},
coverageDirectory: "../coverage",
testEnvironment: "node",
// moduleNameMapper: {
// "src(.*)$": "<rootDir>/src/$1",
// },
coverageDirectory: '../coverage',
testEnvironment: 'node',
};

0 comments on commit 3575aaf

Please sign in to comment.