@homebots/jest-config 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/cicd.yml +3 -1
- package/index.ts +10 -3
- package/package.json +1 -1
package/index.ts
CHANGED
@@ -2,11 +2,15 @@ export default {
|
|
2
2
|
cache: true,
|
3
3
|
clearMocks: true,
|
4
4
|
collectCoverage: true,
|
5
|
-
coverageDirectory: 'coverage',
|
6
5
|
maxWorkers: 1,
|
7
|
-
|
8
|
-
|
6
|
+
coverageProvider: 'babel',
|
7
|
+
coveragePathIgnorePatterns: [
|
8
|
+
'/node_modules/',
|
9
|
+
],
|
9
10
|
extensionsToTreatAsEsm: ['.ts'],
|
11
|
+
transform: {
|
12
|
+
'^.+\\.ts$': 'ts-jest',
|
13
|
+
},
|
10
14
|
slowTestThreshold: 1,
|
11
15
|
coverageThreshold: {
|
12
16
|
global: {
|
@@ -16,4 +20,7 @@ export default {
|
|
16
20
|
statements: 100,
|
17
21
|
},
|
18
22
|
},
|
23
|
+
moduleFileExtensions: ['js', 'ts'],
|
24
|
+
testEnvironment: 'node',
|
25
|
+
verbose: false,
|
19
26
|
};
|