Skip to content

Commit b41bb87

Browse files
committed
tests: have jest ignore stuff in ts-out
1 parent b0c3bca commit b41bb87

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common/tests/unit/jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
},
77
rootDir: "../..",
88
testMatch: ["**/tests/unit/**/*.spec.(js|ts)|**/__tests__/*.(js|ts)"],
9+
testPathIgnorePatterns: ["/node_modules/", "/dist/", "/coverage/", "/ts-out/"],
910
watchPlugins: ["jest-watch-typeahead/filename", "jest-watch-typeahead/testname"],
1011
collectCoverage: true,
1112
coverageReporters: ["text-summary", "text", "json", "html"],

server/tests/unit/jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
},
77
rootDir: "../..",
88
testMatch: ["**/tests/unit/**/*.spec.(js|ts)|**/__tests__/*.(js|ts)"],
9+
testPathIgnorePatterns: ["/node_modules/", "/dist/", "/coverage/", "/ts-out/"],
910
watchPlugins: ["jest-watch-typeahead/filename", "jest-watch-typeahead/testname"],
1011
// collectCoverage: true,
1112
coverageReporters: ["text-summary", "text", "json", "html"],

0 commit comments

Comments
 (0)