vitest 3.0.1 → 3.0.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.
|
@@ -618,7 +618,7 @@ class CAC extends EventEmitter {
|
|
|
618
618
|
|
|
619
619
|
const cac = (name = "") => new CAC(name);
|
|
620
620
|
|
|
621
|
-
var version = "3.0.
|
|
621
|
+
var version = "3.0.2";
|
|
622
622
|
|
|
623
623
|
const apiConfig = (port) => ({
|
|
624
624
|
port: {
|
|
@@ -1567,7 +1567,7 @@ async function start(mode, cliFilters, options) {
|
|
|
1567
1567
|
} catch {
|
|
1568
1568
|
}
|
|
1569
1569
|
try {
|
|
1570
|
-
const { startVitest } = await import('./cli-api.
|
|
1570
|
+
const { startVitest } = await import('./cli-api.B7hOUwun.js').then(function (n) { return n.f; });
|
|
1571
1571
|
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(cliFilters, options));
|
|
1572
1572
|
if (!ctx.shouldKeepServer()) {
|
|
1573
1573
|
await ctx.exit();
|
|
@@ -1598,7 +1598,7 @@ async function collect(mode, cliFilters, options) {
|
|
|
1598
1598
|
} catch {
|
|
1599
1599
|
}
|
|
1600
1600
|
try {
|
|
1601
|
-
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.
|
|
1601
|
+
const { prepareVitest, processCollected, outputFileList } = await import('./cli-api.B7hOUwun.js').then(function (n) { return n.f; });
|
|
1602
1602
|
const ctx = await prepareVitest(mode, {
|
|
1603
1603
|
...normalizeCliOptions(cliFilters, options),
|
|
1604
1604
|
watch: false,
|
|
@@ -10,7 +10,7 @@ import { generateFileHash, createFileTask, limitConcurrency, hasFailed, getTasks
|
|
|
10
10
|
import { SnapshotManager } from '@vitest/snapshot/manager';
|
|
11
11
|
import { ViteNodeRunner } from 'vite-node/client';
|
|
12
12
|
import { ViteNodeServer } from 'vite-node/server';
|
|
13
|
-
import { v as version$1 } from './cac.
|
|
13
|
+
import { v as version$1 } from './cac.CHB7MTUk.js';
|
|
14
14
|
import { c as createBirpc } from './index.TH3f4LSA.js';
|
|
15
15
|
import { s as stringify, p as parse, g as printError, h as generateCodeFrame, R as ReportersMap, b as BenchmarkReportsMap, i as BlobReporter, r as readBlobs, H as HangingProcessReporter } from './index.DyQPL4DO.js';
|
|
16
16
|
import require$$0$2 from 'stream';
|
package/dist/cli.js
CHANGED
package/dist/node.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { resolveConfig as resolveConfig$1, mergeConfig, createServer as createServer$1 } from 'vite';
|
|
2
2
|
export { esbuildVersion, isFileServingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
|
|
3
|
-
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.
|
|
4
|
-
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, e as createViteLogger, c as createVitest, d as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.
|
|
5
|
-
export { p as parseCLI } from './chunks/cac.
|
|
3
|
+
import { V as Vitest, a as VitestPlugin, T as TestModule } from './chunks/cli-api.B7hOUwun.js';
|
|
4
|
+
export { G as GitNotFoundError, F as TestsNotFoundError, b as VitestPackageInstaller, e as createViteLogger, c as createVitest, d as registerConsoleShortcuts, r as resolveFsAllow, s as startVitest } from './chunks/cli-api.B7hOUwun.js';
|
|
5
|
+
export { p as parseCLI } from './chunks/cac.CHB7MTUk.js';
|
|
6
6
|
import { a as resolveConfig$2 } from './chunks/resolveConfig.DATSOo7x.js';
|
|
7
7
|
export { B as BaseSequencer, d as createMethodsRPC, g as getFilePoolName, b as resolveApiServerConfig } from './chunks/resolveConfig.DATSOo7x.js';
|
|
8
8
|
import { slash } from '@vitest/utils';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.2",
|
|
5
5
|
"description": "Next generation testing framework powered by Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
|
|
123
123
|
"happy-dom": "*",
|
|
124
124
|
"jsdom": "*",
|
|
125
|
-
"@vitest/browser": "3.0.
|
|
126
|
-
"@vitest/ui": "3.0.
|
|
125
|
+
"@vitest/browser": "3.0.2",
|
|
126
|
+
"@vitest/ui": "3.0.2"
|
|
127
127
|
},
|
|
128
128
|
"peerDependenciesMeta": {
|
|
129
129
|
"@edge-runtime/vm": {
|
|
@@ -158,14 +158,14 @@
|
|
|
158
158
|
"tinyrainbow": "^2.0.0",
|
|
159
159
|
"vite": "^5.0.0 || ^6.0.0",
|
|
160
160
|
"why-is-node-running": "^2.3.0",
|
|
161
|
-
"@vitest/expect": "3.0.
|
|
162
|
-
"@vitest/mocker": "3.0.
|
|
163
|
-
"@vitest/
|
|
164
|
-
"@vitest/
|
|
165
|
-
"@vitest/
|
|
166
|
-
"@vitest/
|
|
167
|
-
"vite-node": "3.0.
|
|
168
|
-
"@vitest/
|
|
161
|
+
"@vitest/expect": "3.0.2",
|
|
162
|
+
"@vitest/mocker": "3.0.2",
|
|
163
|
+
"@vitest/runner": "3.0.2",
|
|
164
|
+
"@vitest/pretty-format": "^3.0.2",
|
|
165
|
+
"@vitest/snapshot": "3.0.2",
|
|
166
|
+
"@vitest/spy": "3.0.2",
|
|
167
|
+
"vite-node": "3.0.2",
|
|
168
|
+
"@vitest/utils": "3.0.2"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
171
|
"@ampproject/remapping": "^2.3.0",
|