@digest/jest 3.3.3 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jest.config.js +29 -6
- package/package.json +4 -4
package/dist/jest.config.js
CHANGED
|
@@ -43,12 +43,24 @@ module.exports = {
|
|
|
43
43
|
] :
|
|
44
44
|
[]),
|
|
45
45
|
coverageDirectory: path_1.default.join(scripts_1.default.reportPath, 'coverage'),
|
|
46
|
-
moduleDirectories: [
|
|
47
|
-
|
|
46
|
+
moduleDirectories: [
|
|
47
|
+
'node_modules',
|
|
48
|
+
'<rootDir>',
|
|
49
|
+
process.cwd()
|
|
50
|
+
],
|
|
51
|
+
moduleFileExtensions: [
|
|
52
|
+
'json',
|
|
53
|
+
'js',
|
|
54
|
+
'jsx',
|
|
55
|
+
'ts',
|
|
56
|
+
'tsx'
|
|
57
|
+
],
|
|
48
58
|
moduleNameMapper: {
|
|
49
59
|
'\\.(css|scss|sass|less)$': 'identity-obj-proxy'
|
|
50
60
|
},
|
|
51
|
-
reporters: [
|
|
61
|
+
reporters: [
|
|
62
|
+
'default'
|
|
63
|
+
].concat(junit ?
|
|
52
64
|
[
|
|
53
65
|
[
|
|
54
66
|
'jest-junit',
|
|
@@ -72,7 +84,9 @@ module.exports = {
|
|
|
72
84
|
require.resolve(path_1.default.join('@digest', 'jest-enzyme', 'share', 'setup.js'))
|
|
73
85
|
] :
|
|
74
86
|
[], scripts_1.default.jestSetup ?
|
|
75
|
-
[
|
|
87
|
+
[
|
|
88
|
+
scripts_1.default.jestSetup
|
|
89
|
+
] :
|
|
76
90
|
[]),
|
|
77
91
|
setupFilesAfterEnv: [].concat(react ?
|
|
78
92
|
[
|
|
@@ -83,7 +97,9 @@ module.exports = {
|
|
|
83
97
|
require.resolve(path_1.default.join('jest-enzyme', 'lib', 'index.js'))
|
|
84
98
|
] :
|
|
85
99
|
[], scripts_1.default.jestEnvSetup ?
|
|
86
|
-
[
|
|
100
|
+
[
|
|
101
|
+
scripts_1.default.jestEnvSetup
|
|
102
|
+
] :
|
|
87
103
|
[]),
|
|
88
104
|
snapshotSerializers: [].concat(enzyme && !emotion ?
|
|
89
105
|
[
|
|
@@ -99,7 +115,14 @@ module.exports = {
|
|
|
99
115
|
] :
|
|
100
116
|
[]),
|
|
101
117
|
testEnvironment: 'node',
|
|
102
|
-
testPathIgnorePatterns: [
|
|
118
|
+
testPathIgnorePatterns: [
|
|
119
|
+
'//node_modules//',
|
|
120
|
+
'//lib//',
|
|
121
|
+
'//public//',
|
|
122
|
+
'//static//',
|
|
123
|
+
'//bin//',
|
|
124
|
+
'.d.ts$'
|
|
125
|
+
],
|
|
103
126
|
testRegex: '(__tests__[\\\/\\\\].*|\\.(test|spec))\\.(j|t)sx?$',
|
|
104
127
|
transform: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)(\\?v=[0-9]\\.[0-9]\\.[0-9])?$': 'jest-transform-stub' }, babel ?
|
|
105
128
|
{
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/jest",
|
|
3
3
|
"title": "Jest Digest",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.4.1",
|
|
6
6
|
"description": "Digested Jest configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"clean": "rimraf node_modules dist package-lock.json npm-debug.log"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@digest/scripts": "^3.
|
|
39
|
-
"jest": "^27.
|
|
38
|
+
"@digest/scripts": "^3.4.1",
|
|
39
|
+
"jest": "^27.5.1",
|
|
40
40
|
"jest-transform-stub": "^2.0.0"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"coverage",
|
|
47
47
|
"clover"
|
|
48
48
|
],
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "fe9b4c497d51cce743e952edc371c9003e55f876"
|
|
50
50
|
}
|