@nx/jest 24.0.2 → 24.0.3
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.
|
@@ -18,8 +18,8 @@ function updateProductionFileSet(tree) {
|
|
|
18
18
|
'!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)',
|
|
19
19
|
// Remove tsconfig.spec.json
|
|
20
20
|
'!{projectRoot}/tsconfig.spec.json',
|
|
21
|
-
// Remove jest
|
|
22
|
-
'!{projectRoot}/jest.config.
|
|
21
|
+
// Remove jest configs
|
|
22
|
+
'!{projectRoot}/jest.config.{cjs,mjs,js,cts,mts,ts}',
|
|
23
23
|
// Remove test-setup.js/ts
|
|
24
24
|
// TODO(meeroslav) this should be standardized
|
|
25
25
|
'!{projectRoot}/src/test-setup.[jt]s', '!{projectRoot}/test-setup.[jt]s');
|
|
@@ -227,7 +227,7 @@ async function buildJestTargets(rawConfig, needsDtsInputs, configFilePath, proje
|
|
|
227
227
|
options: 'forward',
|
|
228
228
|
});
|
|
229
229
|
targets[targetName] = (0, internal_1.applyTestFileDirectives)({
|
|
230
|
-
command: `jest ${relativePath}`,
|
|
230
|
+
command: `jest --runTestsByPath ${(0, internal_1.quoteShellArg)(relativePath)}`,
|
|
231
231
|
cache,
|
|
232
232
|
inputs,
|
|
233
233
|
outputs,
|
|
@@ -337,7 +337,7 @@ async function buildJestTargets(rawConfig, needsDtsInputs, configFilePath, proje
|
|
|
337
337
|
options: 'forward',
|
|
338
338
|
});
|
|
339
339
|
targets[targetName] = (0, internal_1.applyTestFileDirectives)({
|
|
340
|
-
command: `jest ${relativePath}`,
|
|
340
|
+
command: `jest --runTestsByPath ${(0, internal_1.quoteShellArg)(relativePath)}`,
|
|
341
341
|
cache,
|
|
342
342
|
inputs,
|
|
343
343
|
outputs,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "24.0.
|
|
3
|
+
"version": "24.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@nx/devkit": "24.0.
|
|
107
|
-
"@nx/js": "24.0.
|
|
106
|
+
"@nx/devkit": "24.0.3",
|
|
107
|
+
"@nx/js": "24.0.3",
|
|
108
108
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
109
109
|
"identity-obj-proxy": "3.0.0",
|
|
110
110
|
"jest-config": "^30.0.2",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"yargs-parser": "21.1.1"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"nx": "24.0.
|
|
121
|
+
"nx": "24.0.3"
|
|
122
122
|
},
|
|
123
123
|
"publishConfig": {
|
|
124
124
|
"access": "public"
|