Skip to content

Commit afdb0ea

Browse files
committed
Formatted Jest config
1 parent e8f2313 commit afdb0ea

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Diff for: jest.config.js

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
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+
};

0 commit comments

Comments
 (0)