@nx/jest 19.6.0-beta.4 → 19.6.0-beta.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "19.6.0-beta.
|
|
3
|
+
"version": "19.6.0-beta.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@jest/reporters": "^29.4.1",
|
|
39
39
|
"@jest/test-result": "^29.4.1",
|
|
40
|
-
"@nx/devkit": "19.6.0-beta.
|
|
41
|
-
"@nx/js": "19.6.0-beta.
|
|
40
|
+
"@nx/devkit": "19.6.0-beta.6",
|
|
41
|
+
"@nx/js": "19.6.0-beta.6",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"chalk": "^4.1.0",
|
|
44
44
|
"identity-obj-proxy": "3.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"semver": "^7.5.3",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"yargs-parser": "21.1.1",
|
|
53
|
-
"@nrwl/jest": "19.6.0-beta.
|
|
53
|
+
"@nrwl/jest": "19.6.0-beta.6"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
@@ -53,7 +53,11 @@
|
|
|
53
53
|
},
|
|
54
54
|
"testFile": {
|
|
55
55
|
"description": "The name of the file to test.",
|
|
56
|
-
"type": "string"
|
|
56
|
+
"type": "string",
|
|
57
|
+
"$default": {
|
|
58
|
+
"$source": "argv",
|
|
59
|
+
"index": 0
|
|
60
|
+
}
|
|
57
61
|
},
|
|
58
62
|
"tsConfig": {
|
|
59
63
|
"description": "The name of the Typescript configuration file.",
|
package/src/plugins/plugin.js
CHANGED
|
@@ -275,9 +275,10 @@ function resolveJestPath(projectRoot, workspaceRoot) {
|
|
|
275
275
|
if (resolvedJestPaths[projectRoot]) {
|
|
276
276
|
return resolvedJestPaths[projectRoot];
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
resolvedJestPaths[projectRoot] = require.resolve('jest', {
|
|
279
279
|
paths: [projectRoot, workspaceRoot, __dirname],
|
|
280
280
|
});
|
|
281
|
+
return resolvedJestPaths[projectRoot];
|
|
281
282
|
}
|
|
282
283
|
/**
|
|
283
284
|
* Resolves a jest util package version that `jest` is using.
|