@nx/vitest 23.1.0-rc.1 → 23.1.0-rc.2

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.
@@ -26,7 +26,9 @@ async function* vitestExecutor(options, context) {
26
26
  }
27
27
  resolvedOptions['reporters'].push(nxReporter);
28
28
  const cliFilters = options.testFiles ?? [];
29
- const ctx = await startVitest(options.runMode ?? 'test', cliFilters, resolvedOptions);
29
+ const ctx = await startVitest(options.runMode ?? 'test', cliFilters, resolvedOptions, {
30
+ mode: options.mode ?? 'test',
31
+ });
30
32
  let hasErrors = false;
31
33
  const processExit = () => {
32
34
  ctx.exit();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nx/vitest",
3
3
  "description": "The Nx Plugin for Vitest to enable fast unit testing with Vitest.",
4
- "version": "23.1.0-rc.1",
4
+ "version": "23.1.0-rc.2",
5
5
  "type": "commonjs",
6
6
  "files": [
7
7
  "dist",
@@ -73,13 +73,13 @@
73
73
  "tslib": "^2.3.0",
74
74
  "semver": "^7.6.3",
75
75
  "@phenomnomnominal/tsquery": "~6.2.0",
76
- "@nx/devkit": "23.1.0-rc.1",
77
- "@nx/js": "23.1.0-rc.1"
76
+ "@nx/devkit": "23.1.0-rc.2",
77
+ "@nx/js": "23.1.0-rc.2"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "vitest": "^3.0.0 || ^4.0.0",
81
81
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
82
- "@nx/eslint": "23.1.0-rc.1"
82
+ "@nx/eslint": "23.1.0-rc.2"
83
83
  },
84
84
  "peerDependenciesMeta": {
85
85
  "@nx/eslint": {
@@ -93,6 +93,6 @@
93
93
  }
94
94
  },
95
95
  "devDependencies": {
96
- "nx": "23.1.0-rc.1"
96
+ "nx": "23.1.0-rc.2"
97
97
  }
98
98
  }