We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83fb108 commit dd3e05aCopy full SHA for dd3e05a
jest.config.js
@@ -1,14 +1,17 @@
1
module.exports = {
2
preset: "ts-jest",
3
testEnvironment: "node",
4
- roots: ["lib"],
5
collectCoverageFrom: [
6
"index.ts",
7
"lib/**/*.ts",
8
"!lib/**/*.spec.ts",
9
"!<rootDir>/node_modules/",
10
"!<rootDir>/path/to/dir/"
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)" ]
0 commit comments