vitest 1.3.1 → 1.4.0
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/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/chunks/{integrations-globals.THajbSRg.js → integrations-globals.trMeEBob.js} +3 -3
- package/dist/chunks/{runtime-console.Iloo9fIt.js → runtime-console.tUKE_2UJ.js} +4 -4
- package/dist/chunks/{runtime-runBaseTests.9RbsHRbU.js → runtime-runBaseTests.SKlFOhuq.js} +6 -6
- package/dist/cli.js +4 -4
- package/dist/config.d.ts +1 -1
- package/dist/coverage.d.ts +1 -1
- package/dist/environments.d.ts +1 -1
- package/dist/execute.d.ts +1 -1
- package/dist/execute.js +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -4
- package/dist/node.d.ts +2 -2
- package/dist/node.js +4 -4
- package/dist/{reporters-MmQN-57K.d.ts → reporters-P7C2ytIv.d.ts} +198 -166
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +3 -3
- package/dist/runners.d.ts +2 -1
- package/dist/runners.js +8 -3
- package/dist/{suite-UrZdHRff.d.ts → suite-a18diDsI.d.ts} +1 -1
- package/dist/suite.d.ts +2 -2
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +6 -0
- package/dist/vendor/{base.N3JkKp7j.js → base.Xt0Omgh7.js} +9 -3
- package/dist/vendor/{base.Z38YsPLm.js → base.nhvUBzQY.js} +2 -2
- package/dist/vendor/{cac.wWT9ELdg.js → cac.RvTIWZBK.js} +115 -68
- package/dist/vendor/{execute.27Kk4lQF.js → execute.2_yoIC01.js} +1 -1
- package/dist/vendor/{index.JZMafwT-.js → index.BeX1oZht.js} +1 -1
- package/dist/vendor/{index.9hqYxJUw.js → index.LNWuEnUT.js} +1 -1
- package/dist/vendor/{index.c1V_jzyZ.js → index.e9RDLAeW.js} +39 -21
- package/dist/vendor/{setup-common.snyQUvE3.js → setup-common.vyF1kALR.js} +1 -1
- package/dist/vendor/{utils.GbToHGHI.js → utils.w0xgzP1h.js} +15 -10
- package/dist/vendor/{vi.C5mroSoP.js → vi.JYQecGiw.js} +16 -1
- package/dist/vendor/{vm.o1IruPAo.js → vm.cAHVDF92.js} +2 -2
- package/dist/worker.js +20 -5
- package/dist/workers/forks.js +5 -5
- package/dist/workers/runVmTests.js +5 -5
- package/dist/workers/threads.js +4 -4
- package/dist/workers/vmForks.js +6 -6
- package/dist/workers/vmThreads.js +5 -5
- package/dist/workers.d.ts +6 -3
- package/dist/workers.js +6 -6
- package/package.json +10 -10
package/dist/browser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { processError, startTests } from '@vitest/runner';
|
|
2
|
-
import { R as ResolvedConfig, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule } from './reporters-
|
|
2
|
+
import { R as ResolvedConfig, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule } from './reporters-P7C2ytIv.js';
|
|
3
3
|
import { VitestExecutor } from './execute.js';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import 'vite-node';
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { processError, startTests } from '@vitest/runner';
|
|
2
|
-
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './vendor/setup-common.
|
|
2
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './vendor/setup-common.vyF1kALR.js';
|
|
3
3
|
export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './vendor/coverage.E7sG1b3r.js';
|
|
4
4
|
import '@vitest/utils';
|
|
5
5
|
import '@vitest/snapshot';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as globalApis } from '../vendor/constants.K-Wf1PUy.js';
|
|
2
|
-
import { V as VitestIndex } from '../vendor/index.
|
|
2
|
+
import { V as VitestIndex } from '../vendor/index.BeX1oZht.js';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import '../vendor/benchmark.eeqk2rd8.js';
|
|
5
5
|
import '@vitest/runner/utils';
|
|
@@ -9,7 +9,7 @@ import 'pathe';
|
|
|
9
9
|
import 'std-env';
|
|
10
10
|
import '../vendor/global.CkGT_TMy.js';
|
|
11
11
|
import '../vendor/run-once.Olz_Zkd8.js';
|
|
12
|
-
import '../vendor/vi.
|
|
12
|
+
import '../vendor/vi.JYQecGiw.js';
|
|
13
13
|
import 'chai';
|
|
14
14
|
import '../vendor/_commonjsHelpers.jjO7Zipk.js';
|
|
15
15
|
import '@vitest/expect';
|
|
@@ -17,7 +17,7 @@ import '@vitest/snapshot';
|
|
|
17
17
|
import '@vitest/utils/error';
|
|
18
18
|
import '../vendor/tasks.IknbGB2n.js';
|
|
19
19
|
import '@vitest/utils/source-map';
|
|
20
|
-
import '../vendor/base.
|
|
20
|
+
import '../vendor/base.Xt0Omgh7.js';
|
|
21
21
|
import '../vendor/date.Ns1pGd_X.js';
|
|
22
22
|
import '@vitest/spy';
|
|
23
23
|
|
|
@@ -72,8 +72,8 @@ function createCustomConsole(state) {
|
|
|
72
72
|
}
|
|
73
73
|
const stdout = new Writable({
|
|
74
74
|
write(data, encoding, callback) {
|
|
75
|
-
var _a;
|
|
76
|
-
const id = ((_a = state == null ? void 0 : state.current) == null ? void 0 : _a.id)
|
|
75
|
+
var _a, _b, _c;
|
|
76
|
+
const id = ((_a = state == null ? void 0 : state.current) == null ? void 0 : _a.id) || ((_c = (_b = state == null ? void 0 : state.current) == null ? void 0 : _b.file) == null ? void 0 : _c.id) || getTaskIdByStack(state.ctx.config.root);
|
|
77
77
|
let timer = timers.get(id);
|
|
78
78
|
if (timer) {
|
|
79
79
|
timer.stdoutTime = timer.stdoutTime || RealDate.now();
|
|
@@ -93,8 +93,8 @@ function createCustomConsole(state) {
|
|
|
93
93
|
});
|
|
94
94
|
const stderr = new Writable({
|
|
95
95
|
write(data, encoding, callback) {
|
|
96
|
-
var _a;
|
|
97
|
-
const id = ((_a = state == null ? void 0 : state.current) == null ? void 0 : _a.id)
|
|
96
|
+
var _a, _b, _c;
|
|
97
|
+
const id = ((_a = state == null ? void 0 : state.current) == null ? void 0 : _a.id) || ((_c = (_b = state == null ? void 0 : state.current) == null ? void 0 : _b.file) == null ? void 0 : _c.id) || getTaskIdByStack(state.ctx.config.root);
|
|
98
98
|
let timer = timers.get(id);
|
|
99
99
|
if (timer) {
|
|
100
100
|
timer.stderrTime = timer.stderrTime || RealDate.now();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { performance } from 'node:perf_hooks';
|
|
2
2
|
import { startTests } from '@vitest/runner';
|
|
3
3
|
import '../vendor/index.ir9i0ywP.js';
|
|
4
|
-
import { a as globalExpect, r as resetModules, v as vi } from '../vendor/vi.
|
|
4
|
+
import { a as globalExpect, r as resetModules, v as vi } from '../vendor/vi.JYQecGiw.js';
|
|
5
5
|
import { a as startCoverageInsideWorker, s as stopCoverageInsideWorker } from '../vendor/coverage.E7sG1b3r.js';
|
|
6
|
-
import { V as VitestSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from '../vendor/index.
|
|
6
|
+
import { V as VitestSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from '../vendor/index.LNWuEnUT.js';
|
|
7
7
|
import { createRequire } from 'node:module';
|
|
8
8
|
import util from 'node:util';
|
|
9
9
|
import timers from 'node:timers';
|
|
10
10
|
import { isatty } from 'node:tty';
|
|
11
11
|
import { installSourcemapsSupport } from 'vite-node/source-map';
|
|
12
12
|
import { setupColors, createColors, getSafeTimers } from '@vitest/utils';
|
|
13
|
-
import { V as VitestIndex } from '../vendor/index.
|
|
14
|
-
import { s as setupCommonEnv } from '../vendor/setup-common.
|
|
13
|
+
import { V as VitestIndex } from '../vendor/index.BeX1oZht.js';
|
|
14
|
+
import { s as setupCommonEnv } from '../vendor/setup-common.vyF1kALR.js';
|
|
15
15
|
import { g as getWorkerState } from '../vendor/global.CkGT_TMy.js';
|
|
16
16
|
import 'pathe';
|
|
17
17
|
import 'std-env';
|
|
@@ -23,7 +23,7 @@ import '@vitest/snapshot';
|
|
|
23
23
|
import '@vitest/utils/error';
|
|
24
24
|
import '../vendor/tasks.IknbGB2n.js';
|
|
25
25
|
import '@vitest/utils/source-map';
|
|
26
|
-
import '../vendor/base.
|
|
26
|
+
import '../vendor/base.Xt0Omgh7.js';
|
|
27
27
|
import '../vendor/date.Ns1pGd_X.js';
|
|
28
28
|
import '@vitest/spy';
|
|
29
29
|
import '@vitest/snapshot/environment';
|
|
@@ -69,7 +69,7 @@ async function setupGlobalEnv(config, { environment }) {
|
|
|
69
69
|
await setupConsoleLogSpy(state);
|
|
70
70
|
}
|
|
71
71
|
async function setupConsoleLogSpy(state) {
|
|
72
|
-
const { createCustomConsole } = await import('./runtime-console.
|
|
72
|
+
const { createCustomConsole } = await import('./runtime-console.tUKE_2UJ.js');
|
|
73
73
|
globalThis.console = createCustomConsole(state);
|
|
74
74
|
}
|
|
75
75
|
async function withEnv({ environment }, options, fn) {
|
package/dist/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as createCLI } from './vendor/cac.
|
|
1
|
+
import { d as createCLI } from './vendor/cac.RvTIWZBK.js';
|
|
2
2
|
import 'pathe';
|
|
3
3
|
import 'events';
|
|
4
4
|
import 'picocolors';
|
|
@@ -7,15 +7,15 @@ import 'std-env';
|
|
|
7
7
|
import '@vitest/runner/utils';
|
|
8
8
|
import '@vitest/utils';
|
|
9
9
|
import './vendor/global.CkGT_TMy.js';
|
|
10
|
-
import './vendor/index.
|
|
10
|
+
import './vendor/index.e9RDLAeW.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
import 'node:perf_hooks';
|
|
13
|
-
import './chunks/runtime-console.
|
|
13
|
+
import './chunks/runtime-console.tUKE_2UJ.js';
|
|
14
14
|
import 'node:stream';
|
|
15
15
|
import 'node:console';
|
|
16
16
|
import 'node:path';
|
|
17
17
|
import './vendor/date.Ns1pGd_X.js';
|
|
18
|
-
import './vendor/base.
|
|
18
|
+
import './vendor/base.Xt0Omgh7.js';
|
|
19
19
|
import './vendor/tasks.IknbGB2n.js';
|
|
20
20
|
import '@vitest/utils/source-map';
|
|
21
21
|
import 'node:os';
|
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ConfigEnv, UserConfig, mergeConfig } from 'vite';
|
|
2
|
-
export { ax as UserConfigExport, aw as UserConfigFn, au as UserConfigFnObject, av as UserConfigFnPromise, az as UserProjectConfigExport, ay as UserProjectConfigFn, a1 as UserWorkspaceConfig, aD as configDefaults, aG as coverageConfigDefaults, aF as defaultExclude, aE as defaultInclude, aA as defineConfig, aB as defineProject, aC as defineWorkspace, aH as extraInlineDeps } from './reporters-
|
|
2
|
+
export { ax as UserConfigExport, aw as UserConfigFn, au as UserConfigFnObject, av as UserConfigFnPromise, az as UserProjectConfigExport, ay as UserProjectConfigFn, a1 as UserWorkspaceConfig, aD as configDefaults, aG as coverageConfigDefaults, aF as defaultExclude, aE as defaultInclude, aA as defineConfig, aB as defineProject, aC as defineWorkspace, aH as extraInlineDeps } from './reporters-P7C2ytIv.js';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import 'vite-node';
|
|
5
5
|
import '@vitest/snapshot';
|
package/dist/coverage.d.ts
CHANGED
package/dist/environments.d.ts
CHANGED
package/dist/execute.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import vm from 'node:vm';
|
|
2
2
|
import { ViteNodeRunner } from 'vite-node/client';
|
|
3
3
|
import { ViteNodeRunnerOptions } from 'vite-node';
|
|
4
|
-
import { ar as PendingSuiteMock, as as MockFactory, e as RuntimeRPC, W as WorkerGlobalState, at as MockMap } from './reporters-
|
|
4
|
+
import { ar as PendingSuiteMock, as as MockFactory, e as RuntimeRPC, W as WorkerGlobalState, at as MockMap } from './reporters-P7C2ytIv.js';
|
|
5
5
|
import 'vite';
|
|
6
6
|
import '@vitest/runner';
|
|
7
7
|
import '@vitest/snapshot';
|
package/dist/execute.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitestExecutor } from './vendor/execute.
|
|
1
|
+
export { V as VitestExecutor } from './vendor/execute.2_yoIC01.js';
|
|
2
2
|
import 'node:vm';
|
|
3
3
|
import 'node:url';
|
|
4
4
|
import 'vite-node/client';
|
|
@@ -8,4 +8,4 @@ import '@vitest/utils/error';
|
|
|
8
8
|
import './path.js';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import '@vitest/utils';
|
|
11
|
-
import './vendor/base.
|
|
11
|
+
import './vendor/base.Xt0Omgh7.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TaskPopulated, File, TaskResultPack, CancelReason } from '@vitest/runner';
|
|
2
2
|
export { Custom, DoneCallback, ExtendedContext, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, SequenceHooks, SequenceSetupFiles, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskContext, TaskCustomOptions, TaskMeta, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
|
|
3
|
-
export { b as bench } from './suite-
|
|
3
|
+
export { b as bench } from './suite-a18diDsI.js';
|
|
4
4
|
import { ExpectStatic } from '@vitest/expect';
|
|
5
5
|
export { Assertion, AsymmetricMatchersContaining, ExpectStatic, JestAssertion } from '@vitest/expect';
|
|
6
|
-
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, t as RuntimeConfig, P as ProvidedContext, A as AfterSuiteRunMeta, u as UserConsoleLog, R as ResolvedConfig, v as ModuleGraphData, w as Reporter } from './reporters-
|
|
7
|
-
export { S as ApiConfig, aa as ArgumentsType, a9 as Arrayable, a7 as Awaitable, B as BaseCoverageOptions, ap as BenchFunction, an as Benchmark, aq as BenchmarkAPI, ao as BenchmarkResult, am as BenchmarkUserOptions, N as BuiltinEnvironment, Q as CSSModuleScopeStrategy, z as CollectLineNumbers, D as CollectLines, ac as Constructable, H as Context, f as ContextRPC, a3 as ContextTestEnvironment, aj as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, ai as CoverageReporter, ak as CoverageV8Options, al as CustomProviderOptions, Y as DepsOptimizationOptions, E as Environment, X as EnvironmentOptions, ae as EnvironmentReturn, L as HappyDOMOptions, _ as InlineConfig, K as JSDOMOptions, ad as ModuleCache, ab as MutableArray, a8 as Nullable, ag as OnServerRestartHandler, I as Pool, J as PoolOptions, a0 as ProjectConfig, x as RawErrsMap, ah as ReportContext, a5 as ResolveIdFunction, a as ResolvedCoverageOptions, a4 as ResolvedTestEnvironment, G as RootAndTarget, a2 as RunnerRPC, e as RuntimeRPC, Z as TransformModePatterns, y as TscErrorInfo, $ as TypecheckConfig, U as UserConfig, a1 as UserWorkspaceConfig, i as Vitest, O as VitestEnvironment, V as VitestRunMode, af as VmEnvironmentReturn, g as WorkerContext, W as WorkerGlobalState, a6 as WorkerRPC } from './reporters-
|
|
6
|
+
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, t as RuntimeConfig, P as ProvidedContext, A as AfterSuiteRunMeta, u as UserConsoleLog, R as ResolvedConfig, v as ModuleGraphData, w as Reporter } from './reporters-P7C2ytIv.js';
|
|
7
|
+
export { S as ApiConfig, aa as ArgumentsType, a9 as Arrayable, a7 as Awaitable, B as BaseCoverageOptions, ap as BenchFunction, an as Benchmark, aq as BenchmarkAPI, ao as BenchmarkResult, am as BenchmarkUserOptions, N as BuiltinEnvironment, Q as CSSModuleScopeStrategy, z as CollectLineNumbers, D as CollectLines, ac as Constructable, H as Context, f as ContextRPC, a3 as ContextTestEnvironment, aj as CoverageIstanbulOptions, C as CoverageOptions, b as CoverageProvider, c as CoverageProviderModule, ai as CoverageReporter, ak as CoverageV8Options, al as CustomProviderOptions, Y as DepsOptimizationOptions, E as Environment, X as EnvironmentOptions, ae as EnvironmentReturn, L as HappyDOMOptions, _ as InlineConfig, K as JSDOMOptions, ad as ModuleCache, ab as MutableArray, a8 as Nullable, ag as OnServerRestartHandler, I as Pool, J as PoolOptions, a0 as ProjectConfig, x as RawErrsMap, ah as ReportContext, a5 as ResolveIdFunction, a as ResolvedCoverageOptions, a4 as ResolvedTestEnvironment, G as RootAndTarget, a2 as RunnerRPC, e as RuntimeRPC, Z as TransformModePatterns, y as TscErrorInfo, $ as TypecheckConfig, U as UserConfig, a1 as UserWorkspaceConfig, i as Vitest, O as VitestEnvironment, V as VitestRunMode, af as VmEnvironmentReturn, g as WorkerContext, W as WorkerGlobalState, a6 as WorkerRPC } from './reporters-P7C2ytIv.js';
|
|
8
8
|
import { spyOn, fn, MaybeMockedDeep, MaybeMocked, MaybePartiallyMocked, MaybePartiallyMockedDeep, MockInstance } from '@vitest/spy';
|
|
9
9
|
export { Mock, MockContext, MockInstance, Mocked, MockedClass, MockedFunction, MockedObject, SpyInstance } from '@vitest/spy';
|
|
10
10
|
export { SnapshotEnvironment } from '@vitest/snapshot/environment';
|
|
@@ -687,6 +687,7 @@ interface WebSocketHandlers {
|
|
|
687
687
|
resolveSnapshotPath: (testPath: string) => string;
|
|
688
688
|
resolveSnapshotRawPath: (testPath: string, rawPath: string) => string;
|
|
689
689
|
getModuleGraph: (id: string) => Promise<ModuleGraphData>;
|
|
690
|
+
getBrowserFileSourceMap: (id: string) => Promise<TransformResult['map'] | undefined>;
|
|
690
691
|
getTransformResult: (id: string) => Promise<TransformResultWithSource | undefined>;
|
|
691
692
|
readSnapshotFile: (id: string) => Promise<string | null>;
|
|
692
693
|
readTestFile: (id: string) => Promise<string | null>;
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';
|
|
2
2
|
export { b as bench } from './vendor/benchmark.eeqk2rd8.js';
|
|
3
3
|
export { i as isFirstRun, a as runOnce } from './vendor/run-once.Olz_Zkd8.js';
|
|
4
|
-
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.
|
|
5
|
-
import { d as dist } from './vendor/index.
|
|
6
|
-
export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.
|
|
4
|
+
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.JYQecGiw.js';
|
|
5
|
+
import { d as dist } from './vendor/index.BeX1oZht.js';
|
|
6
|
+
export { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './vendor/index.BeX1oZht.js';
|
|
7
7
|
import * as chai from 'chai';
|
|
8
8
|
export { chai };
|
|
9
9
|
export { assert, should } from 'chai';
|
|
@@ -19,7 +19,7 @@ import '@vitest/snapshot';
|
|
|
19
19
|
import '@vitest/utils/error';
|
|
20
20
|
import './vendor/tasks.IknbGB2n.js';
|
|
21
21
|
import '@vitest/utils/source-map';
|
|
22
|
-
import './vendor/base.
|
|
22
|
+
import './vendor/base.Xt0Omgh7.js';
|
|
23
23
|
import './vendor/date.Ns1pGd_X.js';
|
|
24
24
|
import '@vitest/spy';
|
|
25
25
|
|
package/dist/node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VitestRunMode, U as UserConfig, h as VitestOptions, i as Vitest, j as CliOptions, R as ResolvedConfig, P as ProvidedContext, k as WorkspaceProject, e as RuntimeRPC, T as TestSequencer, l as WorkspaceSpec } from './reporters-
|
|
2
|
-
export { q as BrowserProvider, p as BrowserProviderInitializationOptions, r as BrowserProviderOptions, m as ProcessPool, o as TestSequencerConstructor, n as VitestPackageInstaller, s as startVitest } from './reporters-
|
|
1
|
+
import { V as VitestRunMode, U as UserConfig, h as VitestOptions, i as Vitest, j as CliOptions, R as ResolvedConfig, P as ProvidedContext, k as WorkspaceProject, e as RuntimeRPC, T as TestSequencer, l as WorkspaceSpec } from './reporters-P7C2ytIv.js';
|
|
2
|
+
export { q as BrowserProvider, p as BrowserProviderInitializationOptions, r as BrowserProviderOptions, m as ProcessPool, o as TestSequencerConstructor, n as VitestPackageInstaller, s as startVitest } from './reporters-P7C2ytIv.js';
|
|
3
3
|
import { UserConfig as UserConfig$1, Plugin } from 'vite';
|
|
4
4
|
import '@vitest/runner';
|
|
5
5
|
import 'vite-node';
|
package/dist/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, p as parseCLI, r as registerConsoleShortcuts, s as startVitest } from './vendor/cac.
|
|
2
|
-
export { B as BaseSequencer } from './vendor/index.
|
|
1
|
+
export { b as VitestPackageInstaller, V as VitestPlugin, a as createMethodsRPC, c as createVitest, p as parseCLI, r as registerConsoleShortcuts, s as startVitest } from './vendor/cac.RvTIWZBK.js';
|
|
2
|
+
export { B as BaseSequencer } from './vendor/index.e9RDLAeW.js';
|
|
3
3
|
import 'pathe';
|
|
4
4
|
import 'events';
|
|
5
5
|
import 'picocolors';
|
|
@@ -38,7 +38,7 @@ import 'net';
|
|
|
38
38
|
import 'tls';
|
|
39
39
|
import 'url';
|
|
40
40
|
import '@vitest/utils/source-map';
|
|
41
|
-
import './vendor/base.
|
|
41
|
+
import './vendor/base.Xt0Omgh7.js';
|
|
42
42
|
import 'node:v8';
|
|
43
43
|
import 'node:os';
|
|
44
44
|
import 'node:events';
|
|
@@ -55,7 +55,7 @@ import 'node:module';
|
|
|
55
55
|
import 'node:readline';
|
|
56
56
|
import 'readline';
|
|
57
57
|
import 'node:perf_hooks';
|
|
58
|
-
import './chunks/runtime-console.
|
|
58
|
+
import './chunks/runtime-console.tUKE_2UJ.js';
|
|
59
59
|
import 'node:stream';
|
|
60
60
|
import './vendor/date.Ns1pGd_X.js';
|
|
61
61
|
import './vendor/tasks.IknbGB2n.js';
|