@nx/jest 19.0.0-beta.6 → 19.0.0-beta.7
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 +4 -4
- package/src/plugins/plugin.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.7",
|
|
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": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@jest/reporters": "^29.4.1",
|
|
38
38
|
"@jest/test-result": "^29.4.1",
|
|
39
|
-
"@nx/devkit": "19.0.0-beta.
|
|
40
|
-
"@nx/js": "19.0.0-beta.
|
|
39
|
+
"@nx/devkit": "19.0.0-beta.7",
|
|
40
|
+
"@nx/js": "19.0.0-beta.7",
|
|
41
41
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
42
42
|
"chalk": "^4.1.0",
|
|
43
43
|
"identity-obj-proxy": "3.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"resolve.exports": "1.1.0",
|
|
49
49
|
"tslib": "^2.3.0",
|
|
50
50
|
"yargs-parser": "21.1.1",
|
|
51
|
-
"@nrwl/jest": "19.0.0-beta.
|
|
51
|
+
"@nrwl/jest": "19.0.0-beta.7"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -131,7 +131,7 @@ async function buildJestTargets(configFilePath, projectRoot, options, context) {
|
|
|
131
131
|
};
|
|
132
132
|
targetGroup.push(options.ciTargetName);
|
|
133
133
|
for (const testPath of testPaths) {
|
|
134
|
-
const relativePath = (0,
|
|
134
|
+
const relativePath = (0, devkit_1.normalizePath)((0, path_1.relative)((0, path_1.join)(context.workspaceRoot, projectRoot), testPath));
|
|
135
135
|
const targetName = `${options.ciTargetName}--${relativePath}`;
|
|
136
136
|
dependsOn.push(targetName);
|
|
137
137
|
targets[targetName] = {
|