@digest/jest 4.14.15-next.2 → 4.14.16-next.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 +56 -46
- package/package.json +5 -5
package/dist/jest.config.js
CHANGED
|
@@ -67,11 +67,14 @@ module.exports = {
|
|
|
67
67
|
'ts',
|
|
68
68
|
'tsx'
|
|
69
69
|
],
|
|
70
|
-
moduleNameMapper:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
moduleNameMapper: {
|
|
71
|
+
'\\.(css|scss|sass|less)$': 'identity-obj-proxy',
|
|
72
|
+
...reactNativeWeb ?
|
|
73
|
+
{
|
|
74
|
+
'^react-native$': 'react-native-web'
|
|
75
|
+
} :
|
|
76
|
+
{}
|
|
77
|
+
},
|
|
75
78
|
reporters: [
|
|
76
79
|
'default'
|
|
77
80
|
].concat(reports && junit ?
|
|
@@ -118,45 +121,52 @@ module.exports = {
|
|
|
118
121
|
'.d.ts$'
|
|
119
122
|
],
|
|
120
123
|
testRegex: '(__tests__[\\\/\\\\].*|\\.(test|spec))\\.(j|t)sx?$',
|
|
121
|
-
transform:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
124
|
+
transform: {
|
|
125
|
+
'\\.(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',
|
|
126
|
+
...babel ?
|
|
127
|
+
{
|
|
128
|
+
'^.+\\.js$': [
|
|
129
|
+
'babel-jest',
|
|
130
|
+
{
|
|
131
|
+
configFile: babelPrepPath
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
} :
|
|
135
|
+
{},
|
|
136
|
+
...babel && react ?
|
|
137
|
+
{
|
|
138
|
+
'^.+\\.jsx$': [
|
|
139
|
+
'babel-jest',
|
|
140
|
+
{
|
|
141
|
+
configFile: babelPrepPath
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
} :
|
|
145
|
+
{},
|
|
146
|
+
...babel && typescript ?
|
|
147
|
+
{
|
|
148
|
+
'^.+\\.ts$': [
|
|
149
|
+
'babel-jest',
|
|
150
|
+
{
|
|
151
|
+
configFile: babelPrepPath
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
} :
|
|
155
|
+
{},
|
|
156
|
+
...babel && react && typescript ?
|
|
157
|
+
{
|
|
158
|
+
'^.+\\.tsx$': [
|
|
159
|
+
'babel-jest',
|
|
160
|
+
{
|
|
161
|
+
configFile: babelPrepPath
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
} :
|
|
165
|
+
{},
|
|
166
|
+
...babel && graphql ?
|
|
167
|
+
{
|
|
168
|
+
'^.+\\.(gql|graphql)$': 'jest-transform-graphql'
|
|
169
|
+
} :
|
|
170
|
+
{}
|
|
171
|
+
}
|
|
162
172
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/jest",
|
|
3
3
|
"title": "Jest Digest",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "4.14.
|
|
5
|
+
"version": "4.14.16-next.1",
|
|
6
6
|
"description": "Digested Jest configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@digest/scripts": "^4.0.0",
|
|
40
|
-
"@jest/globals": "^30.
|
|
41
|
-
"jest": "^30.
|
|
42
|
-
"jest-environment-jsdom": "^30.
|
|
40
|
+
"@jest/globals": "^30.3.0",
|
|
41
|
+
"jest": "^30.3.0",
|
|
42
|
+
"jest-environment-jsdom": "^30.3.0",
|
|
43
43
|
"jest-transform-stub": "^2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"coverage",
|
|
50
50
|
"clover"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "e95c54869f8a73933b1c70540656f5c602884982"
|
|
53
53
|
}
|