Skip to content

Commit f1df8a9

Browse files
committed
fix(tests): fix tests mapping to exclude dist
1 parent aa5e5af commit f1df8a9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@
4646
"setupFilesAfterEnv": [
4747
"<rootDir>/jestSetup.ts"
4848
],
49+
"modulePathIgnorePatterns": [
50+
"<rootDir>/dist/"
51+
],
4952
"testPathIgnorePatterns": [
5053
"<rootDir>/node_modules/",
51-
"<rootDir>/dist/"
54+
"<rootDir>/dist"
5255
],
5356
"globals": {
5457
"ts-jest": {

tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
},
99
"files": ["projects/demo/src/polyfills.ts"],
1010
"include": ["projects/**/src/**/*.spec.ts", "projects/**/src/**/*.d.ts"],
11-
"exclude": ["./dist"]
11+
"exclude": ["./dist/**"]
1212
}

0 commit comments

Comments
 (0)