File tree 1 file changed +17
-17
lines changed
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- preset : "ts-jest" ,
3
- testEnvironment : "node ",
4
- collectCoverageFrom : [
5
- "index .ts",
6
- "lib/**/*.ts ",
7
- "!lib/**/*.spec.ts ",
8
- "!<rootDir>/node_modules/" ,
9
- "!<rootDir>/path/to/dir/"
10
- ] ,
11
- testPathIgnorePatterns : [
12
- "/node_modules/" ,
13
- "/dist/"
14
- ] ,
15
- testMatch : process . env . E2E_TEST ?
16
- [ "**/__tests__/?(e2e)/**/*.[jt]s?(x)" , "**/?(*.)?(e2e.)+(spec|test).[jt]s?(x)" ] :
17
- [ "**/__tests__/!(e2e)/**/*.[jt]s?(x)" , "**/!(*.e2e.*)+(spec|test).[jt]s?(x)" ]
18
- } ;
2
+ collectCoverageFrom : [
3
+ "index.ts ",
4
+ "lib/**/*.ts" ,
5
+ "!lib/**/*.spec .ts",
6
+ "!<rootDir>/node_modules/ ",
7
+ "!<rootDir>/path/to/dir/ ",
8
+ ] ,
9
+ preset : "ts-jest" ,
10
+ testEnvironment : "node" ,
11
+ testMatch : process . env . E2E_TEST ?
12
+ [ "**/__tests__/?(e2e)/**/*.[jt]s?(x)" , "**/?(*.)?(e2e.)+(spec|test).[jt]s?(x)" ] :
13
+ [ "**/__tests__/!(e2e)/**/*.[jt]s?(x)" , "**/!(*.e2e.*)+(spec|test).[jt]s?(x)" ] ,
14
+ testPathIgnorePatterns : [
15
+ "/node_modules/" ,
16
+ "/dist/" ,
17
+ ] ,
18
+ } ;
You can’t perform that action at this time.
0 commit comments