Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.

Commit 2870b64

Browse files
feat(atlauncher-scripts): update default jest.json file
1 parent 357481a commit 2870b64

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/atlauncher-scripts/config/jest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"bail": true,
33
"testEnvironment": "node",
44
"collectCoverageFrom": [
5-
"src/**/*.js"
5+
"<rootDir>/src/**/*.js"
66
],
77
"coverageDirectory": "coverage",
88
"coverageThreshold": {
@@ -14,6 +14,8 @@
1414
}
1515
},
1616
"testMatch": [
17-
"**/?(*.)(spec).js"
17+
"<rootDir>/src/**/__tests__/**/*.js",
18+
"<rootDir>/src/**/?(*.)(spec|test).js",
19+
"<rootDir>/test/**/?(*.)spec.js"
1820
]
1921
}

0 commit comments

Comments
 (0)