@nx/jest 23.3.0-beta.7 → 23.3.0-beta.9
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/README.md +1 -1
- package/dist/src/plugins/plugin.js +3 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[](<>)
|
|
13
13
|
[](http://commitizen.github.io/cz-cli/)
|
|
14
14
|
[](https://go.nx.dev/community)
|
|
15
|
-
[](https://nx.dev/nx-cloud)
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createNodesV2 = exports.createNodes = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
const internal_1 = require("@nx/devkit/internal");
|
|
5
6
|
const devkit_1 = require("@nx/devkit");
|
|
6
7
|
const minimatch_1 = require("minimatch");
|
|
7
8
|
const node_fs_1 = require("node:fs");
|
|
8
9
|
const node_path_1 = require("node:path");
|
|
10
|
+
const posix = tslib_1.__importStar(require("node:path/posix"));
|
|
9
11
|
const js_1 = require("@nx/js");
|
|
10
12
|
const internal_2 = require("@nx/js/internal");
|
|
11
13
|
const versions_1 = require("../utils/versions");
|
|
@@ -599,7 +601,7 @@ async function getTestPaths(projectRoot, rawConfig, rootDir, context, presetCach
|
|
|
599
601
|
// Default copied from https://github.com/jestjs/jest/blob/d1a2ed7/packages/jest-config/src/Defaults.ts#L84
|
|
600
602
|
'**/__tests__/**/*.?([mc])[jt]s?(x)',
|
|
601
603
|
'**/?(*.)+(spec|test).?([mc])[jt]s?(x)',
|
|
602
|
-
]).map((pattern) =>
|
|
604
|
+
]).map((pattern) => posix.join(projectRoot, pattern)), []);
|
|
603
605
|
const testRegex = await getJestOption(rawConfig, rootDir, 'testRegex', presetCache);
|
|
604
606
|
if (testRegex) {
|
|
605
607
|
const testRegexes = Array.isArray(rawConfig.testRegex)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "23.3.0-beta.
|
|
3
|
+
"version": "23.3.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@jest/reporters": "^30.0.2",
|
|
107
107
|
"@jest/test-result": "^30.0.2",
|
|
108
|
-
"@nx/devkit": "23.3.0-beta.
|
|
109
|
-
"@nx/js": "23.3.0-beta.
|
|
108
|
+
"@nx/devkit": "23.3.0-beta.9",
|
|
109
|
+
"@nx/js": "23.3.0-beta.9",
|
|
110
110
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
111
111
|
"identity-obj-proxy": "3.0.0",
|
|
112
112
|
"jest-config": "^30.0.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"yargs-parser": "21.1.1"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"nx": "23.3.0-beta.
|
|
124
|
+
"nx": "23.3.0-beta.9"
|
|
125
125
|
},
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public"
|