vitest 2.0.0-beta.8 → 2.0.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/dist/cli.js
CHANGED
package/dist/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, g as getFilePoolName, r as registerConsoleShortcuts, s as startVitest } from './vendor/cli-api.
|
|
2
|
-
export { p as parseCLI } from './vendor/cac.
|
|
1
|
+
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, g as getFilePoolName, r as registerConsoleShortcuts, s as startVitest } from './vendor/cli-api.LMvYagQ5.js';
|
|
2
|
+
export { p as parseCLI } from './vendor/cac.DCg3FnEs.js';
|
|
3
3
|
export { distDir, rootDir } from './path.js';
|
|
4
4
|
export { B as BaseSequencer } from './vendor/index.TBU3GqRP.js';
|
|
5
5
|
export { isFileServingAllowed } from 'vite';
|
|
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
|
|
|
618
618
|
|
|
619
619
|
const cac = (name = "") => new CAC(name);
|
|
620
620
|
|
|
621
|
-
var version = "2.0.0-beta.
|
|
621
|
+
var version = "2.0.0-beta.9";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1448,7 +1448,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1448
1448
|
} catch {
|
|
1449
1449
|
}
|
|
1450
1450
|
try {
|
|
1451
|
-
const { startVitest } = await import('./cli-api.
|
|
1451
|
+
const { startVitest } = await import('./cli-api.LMvYagQ5.js').then(function (n) { return n.d; });
|
|
1452
1452
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options));
|
|
1453
1453
|
if (!(ctx == null ? void 0 : ctx.shouldKeepServer()))
|
|
1454
1454
|
await (ctx == null ? void 0 : ctx.exit());
|
|
@@ -19,7 +19,7 @@ import c from 'picocolors';
|
|
|
19
19
|
import { ViteNodeRunner } from 'vite-node/client';
|
|
20
20
|
import { SnapshotManager } from '@vitest/snapshot/manager';
|
|
21
21
|
import { ViteNodeServer } from 'vite-node/server';
|
|
22
|
-
import { v as version$1 } from './cac.
|
|
22
|
+
import { v as version$1 } from './cac.DCg3FnEs.js';
|
|
23
23
|
import { hasFailed, createFileTask, getTasks, getTests } from '@vitest/runner/utils';
|
|
24
24
|
import { n as noop$1, b as isPrimitive, c as groupBy, A as AggregateErrorPonyfill, a as slash$1, t as toArray, d as deepMerge, e as nanoid, w as wildcardPatternToRegExp, f as stdout } from './base._gnK9Slw.js';
|
|
25
25
|
import { createDefer, toArray as toArray$1, notNullish } from '@vitest/utils';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.9",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"@types/node": "^18.0.0 || >=20.0.0",
|
|
120
120
|
"happy-dom": "*",
|
|
121
121
|
"jsdom": "*",
|
|
122
|
-
"@vitest/browser": "2.0.0-beta.
|
|
123
|
-
"@vitest/ui": "2.0.0-beta.
|
|
122
|
+
"@vitest/browser": "2.0.0-beta.9",
|
|
123
|
+
"@vitest/ui": "2.0.0-beta.9"
|
|
124
124
|
},
|
|
125
125
|
"peerDependenciesMeta": {
|
|
126
126
|
"@edge-runtime/vm": {
|
|
@@ -154,12 +154,12 @@
|
|
|
154
154
|
"tinypool": "^1.0.0",
|
|
155
155
|
"vite": "^5.0.0",
|
|
156
156
|
"why-is-node-running": "^2.2.2",
|
|
157
|
-
"@vitest/expect": "2.0.0-beta.
|
|
158
|
-
"@vitest/
|
|
159
|
-
"@vitest/runner": "2.0.0-beta.
|
|
160
|
-
"@vitest/
|
|
161
|
-
"
|
|
162
|
-
"
|
|
157
|
+
"@vitest/expect": "2.0.0-beta.9",
|
|
158
|
+
"@vitest/snapshot": "2.0.0-beta.9",
|
|
159
|
+
"@vitest/runner": "2.0.0-beta.9",
|
|
160
|
+
"@vitest/spy": "2.0.0-beta.9",
|
|
161
|
+
"@vitest/utils": "2.0.0-beta.9",
|
|
162
|
+
"vite-node": "2.0.0-beta.9"
|
|
163
163
|
},
|
|
164
164
|
"devDependencies": {
|
|
165
165
|
"@ampproject/remapping": "^2.3.0",
|