vitest 4.1.4 → 4.1.6

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.
Files changed (40) hide show
  1. package/dist/browser.d.ts +2 -2
  2. package/dist/browser.js +1 -1
  3. package/dist/chunks/{base.Cv_yNPUJ.js → base.RR7zL1h0.js} +4 -4
  4. package/dist/chunks/{browser.d.C0zGu1u9.d.ts → browser.d.BcoexmFG.d.ts} +2 -2
  5. package/dist/chunks/{cac.wyYWMVI-.js → cac.CVxlyDFd.js} +4 -4
  6. package/dist/chunks/{cli-api.lDy4N9kC.js → cli-api.B5majYba.js} +28 -11
  7. package/dist/chunks/{config.d.ChUh6-ad.d.ts → config.d.A1h_Y6Jt.d.ts} +6 -1
  8. package/dist/chunks/{coverage.Da5gzbsu.js → coverage.DM_a_rWm.js} +10 -2
  9. package/dist/chunks/{global.d.D74z04P1.d.ts → global.d.DVsSRdQ5.d.ts} +1 -1
  10. package/dist/chunks/{globals.BVDtJR67.js → globals.Dj1TGiMC.js} +2 -2
  11. package/dist/chunks/{index.C3MK_gXn.js → index.DXx9Dtk7.js} +2 -2
  12. package/dist/chunks/{index.C-zNJvRx.js → index.DdgEv5B1.js} +1 -1
  13. package/dist/chunks/{index.BMXTnDNz.js → index.UpGiHP7g.js} +26 -25
  14. package/dist/chunks/{plugin.d.CEihBODF.d.ts → plugin.d.C0upjs_f.d.ts} +1 -1
  15. package/dist/chunks/{reporters.d.BwkR0iL5.d.ts → reporters.d.CtLUhkkA.d.ts} +84 -20
  16. package/dist/chunks/{rpc.d.BFMWpdph.d.ts → rpc.d.B_8sPU0w.d.ts} +2 -44
  17. package/dist/chunks/{setup-common.BDwxwUWG.js → setup-common.DYx3LtFI.js} +1 -1
  18. package/dist/chunks/{test.D1JkM1w4.js → test.DNmyFkvJ.js} +1 -1
  19. package/dist/chunks/traces.d.D2T_R8rx.d.ts +60 -0
  20. package/dist/chunks/{worker.d.CckNUvI5.d.ts → worker.d.ZpHpO4yb.d.ts} +2 -2
  21. package/dist/cli.js +1 -1
  22. package/dist/config.d.ts +10 -10
  23. package/dist/coverage.d.ts +8 -7
  24. package/dist/coverage.js +1 -1
  25. package/dist/index.d.ts +15 -12
  26. package/dist/index.js +2 -2
  27. package/dist/module-evaluator.d.ts +2 -2
  28. package/dist/node.d.ts +10 -10
  29. package/dist/node.js +6 -6
  30. package/dist/reporters.d.ts +8 -8
  31. package/dist/reporters.js +2 -2
  32. package/dist/runners.d.ts +2 -2
  33. package/dist/runners.js +1 -1
  34. package/dist/worker.d.ts +4 -4
  35. package/dist/worker.js +5 -5
  36. package/dist/workers/forks.js +5 -5
  37. package/dist/workers/runVmTests.js +4 -4
  38. package/dist/workers/threads.js +5 -5
  39. package/package.json +14 -14
  40. package/dist/chunks/traces.d.402V_yFI.d.ts +0 -18
@@ -1,49 +1,7 @@
1
1
  import { File, TestArtifact, TaskResultPack, TaskEventPack, CancelReason } from '@vitest/runner';
2
2
  import { SnapshotResult } from '@vitest/snapshot';
3
3
  import { FetchFunctionOptions, FetchResult } from 'vite/module-runner';
4
- import { O as OTELCarrier } from './traces.d.402V_yFI.js';
5
-
6
- interface AfterSuiteRunMeta {
7
- coverage?: unknown;
8
- testFiles: string[];
9
- environment: string;
10
- projectName?: string;
11
- }
12
- interface UserConsoleLog {
13
- content: string;
14
- origin?: string;
15
- browser?: boolean;
16
- type: "stdout" | "stderr";
17
- taskId?: string;
18
- time: number;
19
- size: number;
20
- }
21
- interface ModuleGraphData {
22
- graph: Record<string, string[]>;
23
- externalized: string[];
24
- inlined: string[];
25
- }
26
- interface ProvidedContext {}
27
- interface ResolveFunctionResult {
28
- id: string;
29
- file: string;
30
- url: string;
31
- }
32
- interface FetchCachedFileSystemResult {
33
- cached: true;
34
- tmp: string;
35
- id: string;
36
- file: string | null;
37
- url: string;
38
- invalidate: boolean;
39
- }
40
- type LabelColor = "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white";
41
- interface AsyncLeak {
42
- filename: string;
43
- projectName: string;
44
- stack: string;
45
- type: string;
46
- }
4
+ import { O as OTELCarrier, F as FetchCachedFileSystemResult, R as ResolveFunctionResult, U as UserConsoleLog, A as AsyncLeak, a as AfterSuiteRunMeta } from './traces.d.D2T_R8rx.js';
47
5
 
48
6
  interface RuntimeRPC {
49
7
  fetch: (id: string, importer: string | undefined, environment: string, options?: FetchFunctionOptions, otelCarrier?: OTELCarrier) => Promise<FetchResult | FetchCachedFileSystemResult>;
@@ -69,4 +27,4 @@ interface RunnerRPC {
69
27
  onCancel: (reason: CancelReason) => void;
70
28
  }
71
29
 
72
- export type { AfterSuiteRunMeta as A, LabelColor as L, ModuleGraphData as M, ProvidedContext as P, RuntimeRPC as R, UserConsoleLog as U, RunnerRPC as a, AsyncLeak as b };
30
+ export type { RuntimeRPC as R, RunnerRPC as a };
@@ -26,7 +26,7 @@ async function setupCommonEnv(config) {
26
26
  if (globalSetup) return;
27
27
  globalSetup = true;
28
28
  setSafeTimers();
29
- if (config.globals) (await import('./globals.BVDtJR67.js')).registerApiGlobally();
29
+ if (config.globals) (await import('./globals.Dj1TGiMC.js')).registerApiGlobally();
30
30
  }
31
31
  function setupDefines(config) {
32
32
  for (const key in config.defines) globalThis[key] = config.defines[key];
@@ -3552,7 +3552,7 @@ function createVitest() {
3552
3552
  waitUntil,
3553
3553
  defineHelper: (fn) => {
3554
3554
  return function __VITEST_HELPER__(...args) {
3555
- const result = fn(...args);
3555
+ const result = fn.apply(this, args);
3556
3556
  if (result && typeof result === "object" && typeof result.then === "function") return (async function __VITEST_HELPER__() {
3557
3557
  return await result;
3558
3558
  })();
@@ -0,0 +1,60 @@
1
+ interface AfterSuiteRunMeta {
2
+ coverage?: unknown;
3
+ testFiles: string[];
4
+ environment: string;
5
+ projectName?: string;
6
+ }
7
+ interface UserConsoleLog {
8
+ content: string;
9
+ origin?: string;
10
+ browser?: boolean;
11
+ type: "stdout" | "stderr";
12
+ taskId?: string;
13
+ time: number;
14
+ size: number;
15
+ }
16
+ interface ModuleGraphData {
17
+ graph: Record<string, string[]>;
18
+ externalized: string[];
19
+ inlined: string[];
20
+ }
21
+ interface ProvidedContext {}
22
+ interface ResolveFunctionResult {
23
+ id: string;
24
+ file: string;
25
+ url: string;
26
+ }
27
+ interface FetchCachedFileSystemResult {
28
+ cached: true;
29
+ tmp: string;
30
+ id: string;
31
+ file: string | null;
32
+ url: string;
33
+ invalidate: boolean;
34
+ }
35
+ type LabelColor = "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white";
36
+ interface AsyncLeak {
37
+ filename: string;
38
+ projectName: string;
39
+ stack: string;
40
+ type: string;
41
+ }
42
+
43
+ interface OTELCarrier {
44
+ traceparent?: string;
45
+ tracestate?: string;
46
+ }
47
+ interface TracesOptions {
48
+ enabled: boolean;
49
+ watchMode?: boolean;
50
+ sdkPath?: string;
51
+ tracerName?: string;
52
+ }
53
+ declare class Traces {
54
+ #private;
55
+ constructor(options: TracesOptions);
56
+ isEnabled(): boolean;
57
+ }
58
+
59
+ export { Traces as T };
60
+ export type { AsyncLeak as A, FetchCachedFileSystemResult as F, LabelColor as L, ModuleGraphData as M, OTELCarrier as O, ProvidedContext as P, ResolveFunctionResult as R, UserConsoleLog as U, AfterSuiteRunMeta as a };
@@ -1,8 +1,8 @@
1
1
  import { FileSpecification, Task, CancelReason } from '@vitest/runner';
2
2
  import { EvaluatedModules } from 'vite/module-runner';
3
- import { S as SerializedConfig } from './config.d.ChUh6-ad.js';
3
+ import { S as SerializedConfig } from './config.d.A1h_Y6Jt.js';
4
4
  import { E as Environment } from './environment.d.CrsxCzP1.js';
5
- import { R as RuntimeRPC, a as RunnerRPC } from './rpc.d.BFMWpdph.js';
5
+ import { R as RuntimeRPC, a as RunnerRPC } from './rpc.d.B_8sPU0w.js';
6
6
 
7
7
  //#region src/messages.d.ts
8
8
  declare const TYPE_REQUEST: "q";
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as createCLI } from './chunks/cac.wyYWMVI-.js';
1
+ import { c as createCLI } from './chunks/cac.CVxlyDFd.js';
2
2
  import '@vitest/utils/helpers';
3
3
  import 'events';
4
4
  import 'pathe';
package/dist/config.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import { HookHandler, UserConfig, ConfigEnv } from 'vite';
2
2
  export { ConfigEnv, Plugin, UserConfig as ViteUserConfig, mergeConfig } from 'vite';
3
- import { I as InlineConfig, C as CoverageOptions, F as FieldsWithDefaultValues, U as UserWorkspaceConfig, b as UserProjectConfigFn, c as UserProjectConfigExport } from './chunks/reporters.d.BwkR0iL5.js';
4
- export { a as TestProjectConfiguration, d as TestProjectInlineConfiguration, e as TestUserConfig, W as WatcherTriggerPattern } from './chunks/reporters.d.BwkR0iL5.js';
5
- import { V as VitestPluginContext } from './chunks/plugin.d.CEihBODF.js';
6
- import { F as FakeTimerInstallOpts } from './chunks/config.d.ChUh6-ad.js';
3
+ import { I as InlineConfig, C as CoverageOptions, F as FieldsWithDefaultValues, U as UserWorkspaceConfig, b as UserProjectConfigFn, c as UserProjectConfigExport } from './chunks/reporters.d.CtLUhkkA.js';
4
+ export { a as TestProjectConfiguration, d as TestProjectInlineConfiguration, e as TestUserConfig, W as WatcherTriggerPattern } from './chunks/reporters.d.CtLUhkkA.js';
5
+ import { V as VitestPluginContext } from './chunks/plugin.d.C0upjs_f.js';
6
+ import { F as FakeTimerInstallOpts } from './chunks/config.d.A1h_Y6Jt.js';
7
7
  export { TestTagDefinition } from '@vitest/runner';
8
8
  import '@vitest/utils';
9
- import './chunks/rpc.d.BFMWpdph.js';
10
- import '@vitest/snapshot';
11
- import 'vite/module-runner';
12
- import './chunks/traces.d.402V_yFI.js';
9
+ import './chunks/traces.d.D2T_R8rx.js';
13
10
  import 'node:stream';
14
- import './chunks/browser.d.C0zGu1u9.js';
15
- import './chunks/worker.d.CckNUvI5.js';
11
+ import './chunks/browser.d.BcoexmFG.js';
12
+ import './chunks/worker.d.ZpHpO4yb.js';
13
+ import 'vite/module-runner';
16
14
  import './chunks/environment.d.CrsxCzP1.js';
15
+ import './chunks/rpc.d.B_8sPU0w.js';
16
+ import '@vitest/snapshot';
17
17
  import '@vitest/pretty-format';
18
18
  import '@vitest/utils/diff';
19
19
  import '@vitest/expect';
@@ -1,18 +1,18 @@
1
- import { V as Vitest, at as ResolvedCoverageOptions, aZ as CoverageMap, am as ReportContext, T as TestProject } from './chunks/reporters.d.BwkR0iL5.js';
1
+ import { V as Vitest, av as ResolvedCoverageOptions, a$ as CoverageMap, ao as ReportContext, T as TestProject } from './chunks/reporters.d.CtLUhkkA.js';
2
2
  import { TransformResult } from 'vite';
3
- import { A as AfterSuiteRunMeta } from './chunks/rpc.d.BFMWpdph.js';
3
+ import { a as AfterSuiteRunMeta } from './chunks/traces.d.D2T_R8rx.js';
4
4
  import '@vitest/runner';
5
5
  import '@vitest/utils';
6
6
  import 'node:stream';
7
- import './chunks/browser.d.C0zGu1u9.js';
8
- import './chunks/traces.d.402V_yFI.js';
9
- import './chunks/worker.d.CckNUvI5.js';
10
- import 'vite/module-runner';
11
- import './chunks/config.d.ChUh6-ad.js';
7
+ import './chunks/config.d.A1h_Y6Jt.js';
12
8
  import '@vitest/pretty-format';
13
9
  import '@vitest/snapshot';
14
10
  import '@vitest/utils/diff';
11
+ import './chunks/browser.d.BcoexmFG.js';
12
+ import './chunks/worker.d.ZpHpO4yb.js';
13
+ import 'vite/module-runner';
15
14
  import './chunks/environment.d.CrsxCzP1.js';
15
+ import './chunks/rpc.d.B_8sPU0w.js';
16
16
  import '@vitest/expect';
17
17
  import 'vitest/optional-types.js';
18
18
  import './chunks/benchmark.d.DAaHLpsq.js';
@@ -79,6 +79,7 @@ declare class BaseCoverageProvider {
79
79
  }>;
80
80
  resolveOptions(): ResolvedCoverageOptions;
81
81
  clean(clean?: boolean): Promise<void>;
82
+ private normalizeCoverageFileError;
82
83
  onAfterSuiteRun({ coverage, environment, projectName, testFiles }: AfterSuiteRunMeta): void;
83
84
  readCoverageFiles<CoverageType>({ onFileRead, onFinished, onDebug }: {
84
85
  /** Callback invoked with a single coverage result */
package/dist/coverage.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BaseCoverageProvider } from './chunks/coverage.Da5gzbsu.js';
1
+ export { B as BaseCoverageProvider } from './chunks/coverage.DM_a_rWm.js';
2
2
  import 'node:fs';
3
3
  import 'node:module';
4
4
  import 'node:path';
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { M as ModuleDefinitionDurationsDiagnostic, U as UntrackedModuleDefinitionDiagnostic, S as SerializedTestSpecification, a as ModuleDefinitionDiagnostic, b as ModuleDefinitionLocation, c as SourceModuleDiagnostic, d as SourceModuleLocations } from './chunks/browser.d.C0zGu1u9.js';
2
- export { B as BrowserTesterOptions } from './chunks/browser.d.C0zGu1u9.js';
3
- import './chunks/global.d.D74z04P1.js';
1
+ import { M as ModuleDefinitionDurationsDiagnostic, U as UntrackedModuleDefinitionDiagnostic, S as SerializedTestSpecification, a as ModuleDefinitionDiagnostic, b as ModuleDefinitionLocation, c as SourceModuleDiagnostic, d as SourceModuleLocations } from './chunks/browser.d.BcoexmFG.js';
2
+ export { B as BrowserTesterOptions } from './chunks/browser.d.BcoexmFG.js';
3
+ import './chunks/global.d.DVsSRdQ5.js';
4
4
  import { File, TestAnnotation, TestArtifact, TaskResultPack, TaskEventPack, Test, TaskPopulated } from '@vitest/runner';
5
5
  export { CancelReason, ImportDuration, OnTestFailedHandler, OnTestFinishedHandler, RunMode, Task as RunnerTask, TaskBase as RunnerTaskBase, TaskEventPack as RunnerTaskEventPack, TaskResult as RunnerTaskResult, TaskResultPack as RunnerTaskResultPack, Test as RunnerTestCase, File as RunnerTestFile, Suite as RunnerTestSuite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteOptions, TaskCustomOptions, TaskMeta, TaskState, TestAPI, TestAnnotation, TestAnnotationArtifact, TestArtifact, TestArtifactBase, TestArtifactLocation, TestArtifactRegistry, TestAttachment, TestContext, TestFunction, TestOptions, VitestRunnerConfig as TestRunnerConfig, TestTags, VitestRunner as VitestTestRunner, afterAll, afterEach, aroundAll, aroundEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, recordArtifact, suite, test } from '@vitest/runner';
6
6
  import { Awaitable } from '@vitest/utils';
7
7
  export { ParsedStack, SerializedError, TestError } from '@vitest/utils';
8
- import { b as BirpcReturn } from './chunks/worker.d.CckNUvI5.js';
9
- export { C as ContextRPC, c as ContextTestEnvironment, T as TestExecutionMethod, W as WorkerGlobalState } from './chunks/worker.d.CckNUvI5.js';
10
- import { S as SerializedConfig, F as FakeTimerInstallOpts, R as RuntimeOptions } from './chunks/config.d.ChUh6-ad.js';
11
- export { b as RuntimeConfig, a as SerializedCoverageConfig } from './chunks/config.d.ChUh6-ad.js';
12
- import { U as UserConsoleLog, L as LabelColor, M as ModuleGraphData, P as ProvidedContext } from './chunks/rpc.d.BFMWpdph.js';
13
- export { A as AfterSuiteRunMeta, a as RunnerRPC, R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
8
+ import { b as BirpcReturn } from './chunks/worker.d.ZpHpO4yb.js';
9
+ export { C as ContextRPC, c as ContextTestEnvironment, T as TestExecutionMethod, W as WorkerGlobalState } from './chunks/worker.d.ZpHpO4yb.js';
10
+ import { b as SerializedRootConfig, F as FakeTimerInstallOpts, R as RuntimeOptions } from './chunks/config.d.A1h_Y6Jt.js';
11
+ export { c as RuntimeConfig, S as SerializedConfig, a as SerializedCoverageConfig } from './chunks/config.d.A1h_Y6Jt.js';
12
+ import { U as UserConsoleLog, L as LabelColor, M as ModuleGraphData, P as ProvidedContext } from './chunks/traces.d.D2T_R8rx.js';
13
+ export { a as AfterSuiteRunMeta } from './chunks/traces.d.D2T_R8rx.js';
14
14
  import { ExpectStatic, MatcherState, SyncExpectationResult, AsyncExpectationResult, ExpectationResult } from '@vitest/expect';
15
15
  export { Assertion, AsymmetricMatchersContaining, DeeplyAllowMatchers, ExpectPollOptions, ExpectStatic, JestAssertion, RawMatcherFn as Matcher, ExpectationResult as MatcherResult, MatcherState, Matchers, chai } from '@vitest/expect';
16
16
  import { DomainSnapshotAdapter } from '@vitest/snapshot';
@@ -24,9 +24,9 @@ export { V as EvaluatedModules } from './chunks/evaluatedModules.d.BxJ5omdx.js';
24
24
  export { NodeBenchmarkRunner as BenchmarkRunner, VitestTestRunner as TestRunner } from './runners.js';
25
25
  export { a as BenchFunction, b as Benchmark, c as BenchmarkAPI, B as BenchmarkResult } from './chunks/benchmark.d.DAaHLpsq.js';
26
26
  export { ExpectTypeOf, expectTypeOf } from 'expect-type';
27
+ export { a as RunnerRPC, R as RuntimeRPC } from './chunks/rpc.d.B_8sPU0w.js';
27
28
  export { DiffOptions } from '@vitest/utils/diff';
28
29
  export { Bench as BenchFactory, Options as BenchOptions, Task as BenchTask, TaskResult as BenchTaskResult } from 'tinybench';
29
- import './chunks/traces.d.402V_yFI.js';
30
30
  import '@vitest/pretty-format';
31
31
  import 'vite/module-runner';
32
32
  import './chunks/environment.d.CrsxCzP1.js';
@@ -62,7 +62,10 @@ interface WebSocketHandlers {
62
62
  getFiles: () => File[];
63
63
  getTestFiles: () => Promise<SerializedTestSpecification[]>;
64
64
  getPaths: () => string[];
65
- getConfig: () => SerializedConfig;
65
+ getConfig: () => SerializedRootConfig;
66
+ /**
67
+ * @deprecated Use `getConfig().projects` instead.
68
+ */
66
69
  getResolvedProjectLabels: () => {
67
70
  name: string;
68
71
  color?: LabelColor;
@@ -635,5 +638,5 @@ declare namespace Experimental {
635
638
  export { ModuleDefinitionDiagnostic, ModuleDefinitionDurationsDiagnostic, ModuleDefinitionLocation, SourceModuleDiagnostic, SourceModuleLocations, UntrackedModuleDefinitionDiagnostic };
636
639
  }
637
640
 
638
- export { Experimental, LabelColor, ModuleGraphData, ProvidedContext, SerializedConfig, SerializedTestSpecification, Snapshots, UserConsoleLog, assert, assertType, createExpect, globalExpect as expect, inject, should, vi, vitest };
641
+ export { Experimental, LabelColor, ModuleGraphData, ProvidedContext, SerializedRootConfig, SerializedTestSpecification, Snapshots, UserConsoleLog, assert, assertType, createExpect, globalExpect as expect, inject, should, vi, vitest };
639
642
  export type { AssertType, BrowserUI, ExternalResult, TransformResultWithSource, VitestUtils, WebSocketEvents, WebSocketHandlers, WebSocketRPC };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { N as BenchmarkRunner, S as Snapshots, T as TestRunner, a as assert, c as createExpect, g as expect, i as inject, s as should, v as vi, b as vitest } from './chunks/test.D1JkM1w4.js';
1
+ export { N as BenchmarkRunner, S as Snapshots, T as TestRunner, a as assert, c as createExpect, g as expect, i as inject, s as should, v as vi, b as vitest } from './chunks/test.DNmyFkvJ.js';
2
2
  export { b as bench } from './chunks/benchmark.CX_oY03V.js';
3
3
  export { V as EvaluatedModules } from './chunks/evaluatedModules.Dg1zASAC.js';
4
- export { a as assertType } from './chunks/index.C-zNJvRx.js';
4
+ export { a as assertType } from './chunks/index.DdgEv5B1.js';
5
5
  export { expectTypeOf } from 'expect-type';
6
6
  export { afterAll, afterEach, aroundAll, aroundEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, recordArtifact, suite, test } from '@vitest/runner';
7
7
  export { chai } from '@vitest/expect';
@@ -1,10 +1,10 @@
1
1
  import { ModuleEvaluator, ModuleRunnerImportMeta, ModuleRunnerContext, EvaluatedModuleNode } from 'vite/module-runner';
2
2
  import { V as VitestEvaluatedModules } from './chunks/evaluatedModules.d.BxJ5omdx.js';
3
3
  import vm from 'node:vm';
4
- import { R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
4
+ import { R as RuntimeRPC } from './chunks/rpc.d.B_8sPU0w.js';
5
5
  import '@vitest/runner';
6
6
  import '@vitest/snapshot';
7
- import './chunks/traces.d.402V_yFI.js';
7
+ import './chunks/traces.d.D2T_R8rx.js';
8
8
 
9
9
  type ModuleExecutionInfo = Map<string, ModuleExecutionInfoEntry>;
10
10
  interface ModuleExecutionInfoEntry {
package/dist/node.d.ts CHANGED
@@ -3,24 +3,24 @@ import { InlineConfig, UserConfig as UserConfig$1, Plugin, ResolvedConfig as Res
3
3
  export { vite as Vite };
4
4
  export { esbuildVersion, isCSSRequest, isFileLoadingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
5
5
  import { IncomingMessage } from 'node:http';
6
- import { R as ResolvedConfig, e as UserConfig, f as VitestRunMode, g as VitestOptions, V as Vitest, A as ApiConfig, L as Logger, h as TestSpecification, T as TestProject, P as PoolWorker, i as PoolOptions, j as WorkerRequest, k as TestSequencer } from './chunks/reporters.d.BwkR0iL5.js';
7
- export { l as AgentReporter, B as BaseCoverageOptions, m as BaseReporter, n as BenchmarkBuiltinReporters, o as BenchmarkReporter, p as BenchmarkReportsMap, q as BenchmarkUserOptions, r as BrowserBuiltinProvider, s as BrowserCommand, t as BrowserCommandContext, u as BrowserConfigOptions, v as BrowserInstanceOption, w as BrowserModuleMocker, x as BrowserOrchestrator, y as BrowserProvider, z as BrowserProviderOption, D as BrowserScript, E as BrowserServerFactory, G as BrowserServerOptions, H as BrowserServerState, J as BrowserServerStateSession, K as BuiltinEnvironment, M as BuiltinReporterOptions, N as BuiltinReporters, O as CSSModuleScopeStrategy, Q as CoverageIstanbulOptions, C as CoverageOptions, S as CoverageProvider, X as CoverageProviderModule, Y as CoverageReporter, Z as CoverageV8Options, _ as CustomProviderOptions, $ as DefaultReporter, a0 as DepsOptimizationOptions, a1 as DotReporter, a2 as EnvironmentOptions, a3 as GithubActionsReporter, a4 as HTMLOptions, a5 as HangingProcessReporter, I as InlineConfig, a6 as JUnitOptions, a7 as JUnitReporter, a8 as JsonAssertionResult, a9 as JsonOptions, aa as JsonReporter, ab as JsonTestResult, ac as JsonTestResults, ad as ModuleDiagnostic, ae as OnServerRestartHandler, af as OnTestsRerunHandler, ag as ParentProjectBrowser, ah as Pool, ai as PoolRunnerInitializer, aj as PoolTask, ak as ProjectBrowser, al as ProjectConfig, am as ReportContext, an as ReportedHookContext, ao as Reporter, ap as ReportersMap, aq as ResolveSnapshotPathHandler, ar as ResolveSnapshotPathHandlerContext, as as ResolvedBrowserOptions, at as ResolvedCoverageOptions, au as ResolvedProjectConfig, av as SerializedTestProject, aw as TapFlatReporter, ax as TapReporter, ay as TaskOptions, az as TestCase, aA as TestCollection, aB as TestDiagnostic, aC as TestModule, aD as TestModuleState, aE as TestResult, aF as TestResultFailed, aG as TestResultPassed, aH as TestResultSkipped, aI as TestRunEndReason, aJ as TestRunResult, aK as TestSequencerConstructor, aL as TestSpecificationOptions, aM as TestState, aN as TestSuite, aO as TestSuiteState, aP as ToMatchScreenshotComparators, aQ as ToMatchScreenshotOptions, aR as TypecheckConfig, U as UserWorkspaceConfig, aS as VerboseBenchmarkReporter, aT as VerboseReporter, aU as VitestEnvironment, aV as VitestPackageInstaller, W as WatcherTriggerPattern, aW as WorkerResponse, aX as _BrowserNames, aY as experimental_getRunnerTask } from './chunks/reporters.d.BwkR0iL5.js';
8
- export { C as CacheKeyIdGenerator, a as CacheKeyIdGeneratorContext, V as VitestPluginContext } from './chunks/plugin.d.CEihBODF.js';
6
+ import { R as ResolvedConfig, e as UserConfig, f as VitestRunMode, g as VitestOptions, V as Vitest, A as ApiConfig, L as Logger, h as TestSpecification, T as TestProject, P as PoolWorker, i as PoolOptions, j as WorkerRequest, k as TestSequencer } from './chunks/reporters.d.CtLUhkkA.js';
7
+ export { M as AgentReporter, B as BaseCoverageOptions, l as BaseReporter, m as BenchmarkBuiltinReporters, n as BenchmarkReporter, o as BenchmarkReportsMap, p as BenchmarkUserOptions, q as BrowserBuiltinProvider, r as BrowserCommand, s as BrowserCommandContext, t as BrowserConfigOptions, u as BrowserInstanceOption, v as BrowserModuleMocker, w as BrowserOrchestrator, x as BrowserProvider, y as BrowserProviderOption, z as BrowserScript, D as BrowserServerFactory, E as BrowserServerOptions, G as BrowserServerState, H as BrowserServerStateSession, J as BuiltinEnvironment, K as BuiltinReporterOptions, N as BuiltinReporters, O as CSSModuleScopeStrategy, Q as CoverageInstrumenter, S as CoverageIstanbulOptions, C as CoverageOptions, X as CoverageProvider, Y as CoverageProviderModule, Z as CoverageReporter, _ as CoverageV8Options, $ as CustomProviderOptions, a0 as DefaultReporter, a1 as DepsOptimizationOptions, a2 as DotReporter, a3 as EnvironmentOptions, a4 as GithubActionsReporter, a5 as HTMLOptions, a6 as HangingProcessReporter, I as InlineConfig, a7 as InstrumenterOptions, a8 as JUnitOptions, a9 as JUnitReporter, aa as JsonAssertionResult, ab as JsonOptions, ac as JsonReporter, ad as JsonTestResult, ae as JsonTestResults, M as MinimalReporter, af as ModuleDiagnostic, ag as OnServerRestartHandler, ah as OnTestsRerunHandler, ai as ParentProjectBrowser, aj as Pool, ak as PoolRunnerInitializer, al as PoolTask, am as ProjectBrowser, an as ProjectConfig, ao as ReportContext, ap as ReportedHookContext, aq as Reporter, ar as ReportersMap, as as ResolveSnapshotPathHandler, at as ResolveSnapshotPathHandlerContext, au as ResolvedBrowserOptions, av as ResolvedCoverageOptions, aw as ResolvedProjectConfig, ax as SerializedTestProject, ay as TapFlatReporter, az as TapReporter, aA as TaskOptions, aB as TestCase, aC as TestCollection, aD as TestDiagnostic, aE as TestModule, aF as TestModuleState, aG as TestResult, aH as TestResultFailed, aI as TestResultPassed, aJ as TestResultSkipped, aK as TestRunEndReason, aL as TestRunResult, aM as TestSequencerConstructor, aN as TestSpecificationOptions, aO as TestState, aP as TestSuite, aQ as TestSuiteState, aR as ToMatchScreenshotComparators, aS as ToMatchScreenshotOptions, aT as TypecheckConfig, U as UserWorkspaceConfig, aU as VerboseBenchmarkReporter, aV as VerboseReporter, aW as VitestEnvironment, aX as VitestPackageInstaller, W as WatcherTriggerPattern, aY as WorkerResponse, aZ as _BrowserNames, a_ as experimental_getRunnerTask } from './chunks/reporters.d.CtLUhkkA.js';
8
+ export { C as CacheKeyIdGenerator, a as CacheKeyIdGeneratorContext, V as VitestPluginContext } from './chunks/plugin.d.C0upjs_f.js';
9
9
  export { BaseCoverageProvider } from './coverage.js';
10
10
  import { Awaitable } from '@vitest/utils';
11
11
  export { SerializedError } from '@vitest/utils';
12
- import { R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
12
+ import { R as RuntimeRPC } from './chunks/rpc.d.B_8sPU0w.js';
13
13
  import { Writable } from 'node:stream';
14
- import { C as ContextRPC } from './chunks/worker.d.CckNUvI5.js';
15
- export { T as TestExecutionType } from './chunks/worker.d.CckNUvI5.js';
14
+ import { C as ContextRPC } from './chunks/worker.d.ZpHpO4yb.js';
15
+ export { T as TestExecutionType } from './chunks/worker.d.ZpHpO4yb.js';
16
16
  import { Debugger } from 'obug';
17
- import './chunks/global.d.D74z04P1.js';
17
+ import './chunks/global.d.DVsSRdQ5.js';
18
18
  export { Task as RunnerTask, TaskResult as RunnerTaskResult, TaskResultPack as RunnerTaskResultPack, Test as RunnerTestCase, File as RunnerTestFile, Suite as RunnerTestSuite, SequenceHooks, SequenceSetupFiles } from '@vitest/runner';
19
- export { b as RuntimeConfig } from './chunks/config.d.ChUh6-ad.js';
19
+ export { c as RuntimeConfig } from './chunks/config.d.A1h_Y6Jt.js';
20
20
  export { generateFileHash } from '@vitest/runner/utils';
21
21
  export { CDPSession } from 'vitest/browser';
22
- import './chunks/browser.d.C0zGu1u9.js';
23
- import './chunks/traces.d.402V_yFI.js';
22
+ import './chunks/traces.d.D2T_R8rx.js';
23
+ import './chunks/browser.d.BcoexmFG.js';
24
24
  import '@vitest/pretty-format';
25
25
  import '@vitest/snapshot';
26
26
  import '@vitest/utils/diff';
package/dist/node.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import * as vite from 'vite';
2
2
  import { resolveConfig as resolveConfig$1, mergeConfig } from 'vite';
3
3
  export { esbuildVersion, isCSSRequest, isFileLoadingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
4
- import { V as Vitest, a as VitestPlugin } from './chunks/cli-api.lDy4N9kC.js';
5
- export { F as ForksPoolWorker, G as GitNotFoundError, b as TestsNotFoundError, T as ThreadsPoolWorker, c as TypecheckPoolWorker, d as VitestPackageInstaller, e as VmForksPoolWorker, f as VmThreadsPoolWorker, g as createDebugger, h as createMethodsRPC, i as createViteLogger, j as createVitest, k as escapeTestName, l as experimental_getRunnerTask, m as getFilePoolName, n as isFileServingAllowed, o as isValidApiRequest, r as registerConsoleShortcuts, p as resolveFsAllow, s as startVitest } from './chunks/cli-api.lDy4N9kC.js';
6
- export { p as parseCLI } from './chunks/cac.wyYWMVI-.js';
7
- import { r as resolveConfig$2 } from './chunks/coverage.Da5gzbsu.js';
8
- export { B as BaseCoverageProvider, a as BaseSequencer, b as resolveApiServerConfig } from './chunks/coverage.Da5gzbsu.js';
4
+ import { V as Vitest, a as VitestPlugin } from './chunks/cli-api.B5majYba.js';
5
+ export { F as ForksPoolWorker, G as GitNotFoundError, b as TestsNotFoundError, T as ThreadsPoolWorker, c as TypecheckPoolWorker, d as VitestPackageInstaller, e as VmForksPoolWorker, f as VmThreadsPoolWorker, g as createDebugger, h as createMethodsRPC, i as createViteLogger, j as createVitest, k as escapeTestName, l as experimental_getRunnerTask, m as getFilePoolName, n as isFileServingAllowed, o as isValidApiRequest, r as registerConsoleShortcuts, p as resolveFsAllow, s as startVitest } from './chunks/cli-api.B5majYba.js';
6
+ export { p as parseCLI } from './chunks/cac.CVxlyDFd.js';
7
+ import { r as resolveConfig$2 } from './chunks/coverage.DM_a_rWm.js';
8
+ export { B as BaseCoverageProvider, a as BaseSequencer, b as resolveApiServerConfig } from './chunks/coverage.DM_a_rWm.js';
9
9
  import { slash, deepClone } from '@vitest/utils/helpers';
10
10
  import { a as any } from './chunks/index.og1WyBLx.js';
11
11
  import { resolve } from 'pathe';
12
12
  import { c as configFiles } from './chunks/constants.CPYnjOGj.js';
13
- export { A as AgentReporter, B as BenchmarkReporter, a as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, c as JsonReporter, R as ReportersMap, T as TapFlatReporter, d as TapReporter, V as VerboseBenchmarkReporter, e as VerboseReporter } from './chunks/index.BMXTnDNz.js';
13
+ export { M as AgentReporter, B as BenchmarkReporter, a as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, c as JsonReporter, M as MinimalReporter, R as ReportersMap, T as TapFlatReporter, d as TapReporter, V as VerboseBenchmarkReporter, e as VerboseReporter } from './chunks/index.UpGiHP7g.js';
14
14
  export { distDir, rootDir } from './path.js';
15
15
  export { generateFileHash } from '@vitest/runner/utils';
16
16
  import 'node:fs';
@@ -1,18 +1,18 @@
1
- export { l as AgentReporter, m as BaseReporter, n as BenchmarkBuiltinReporters, o as BenchmarkReporter, p as BenchmarkReportsMap, M as BuiltinReporterOptions, N as BuiltinReporters, $ as DefaultReporter, a1 as DotReporter, a3 as GithubActionsReporter, a5 as HangingProcessReporter, a7 as JUnitReporter, a8 as JsonAssertionResult, aa as JsonReporter, ab as JsonTestResult, ac as JsonTestResults, an as ReportedHookContext, ao as Reporter, ap as ReportersMap, aw as TapFlatReporter, ax as TapReporter, aI as TestRunEndReason, aS as VerboseBenchmarkReporter, aT as VerboseReporter } from './chunks/reporters.d.BwkR0iL5.js';
1
+ export { M as AgentReporter, l as BaseReporter, m as BenchmarkBuiltinReporters, n as BenchmarkReporter, o as BenchmarkReportsMap, K as BuiltinReporterOptions, N as BuiltinReporters, a0 as DefaultReporter, a2 as DotReporter, a4 as GithubActionsReporter, a6 as HangingProcessReporter, a9 as JUnitReporter, aa as JsonAssertionResult, ac as JsonReporter, ad as JsonTestResult, ae as JsonTestResults, M as MinimalReporter, ap as ReportedHookContext, aq as Reporter, ar as ReportersMap, ay as TapFlatReporter, az as TapReporter, aK as TestRunEndReason, aU as VerboseBenchmarkReporter, aV as VerboseReporter } from './chunks/reporters.d.CtLUhkkA.js';
2
2
  import '@vitest/runner';
3
3
  import '@vitest/utils';
4
- import './chunks/rpc.d.BFMWpdph.js';
5
- import '@vitest/snapshot';
6
- import 'vite/module-runner';
7
- import './chunks/traces.d.402V_yFI.js';
4
+ import './chunks/traces.d.D2T_R8rx.js';
8
5
  import 'node:stream';
9
6
  import 'vite';
10
- import './chunks/browser.d.C0zGu1u9.js';
11
- import './chunks/worker.d.CckNUvI5.js';
12
- import './chunks/config.d.ChUh6-ad.js';
7
+ import './chunks/config.d.A1h_Y6Jt.js';
13
8
  import '@vitest/pretty-format';
9
+ import '@vitest/snapshot';
14
10
  import '@vitest/utils/diff';
11
+ import './chunks/browser.d.BcoexmFG.js';
12
+ import './chunks/worker.d.ZpHpO4yb.js';
13
+ import 'vite/module-runner';
15
14
  import './chunks/environment.d.CrsxCzP1.js';
15
+ import './chunks/rpc.d.B_8sPU0w.js';
16
16
  import '@vitest/expect';
17
17
  import 'vitest/optional-types.js';
18
18
  import './chunks/benchmark.d.DAaHLpsq.js';
package/dist/reporters.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AgentReporter, B as BenchmarkReporter, a as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, c as JsonReporter, R as ReportersMap, T as TapFlatReporter, d as TapReporter, V as VerboseBenchmarkReporter, e as VerboseReporter } from './chunks/index.BMXTnDNz.js';
1
+ export { M as AgentReporter, B as BenchmarkReporter, a as BenchmarkReportsMap, D as DefaultReporter, b as DotReporter, G as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, c as JsonReporter, M as MinimalReporter, R as ReportersMap, T as TapFlatReporter, d as TapReporter, V as VerboseBenchmarkReporter, e as VerboseReporter } from './chunks/index.UpGiHP7g.js';
2
2
  import 'node:fs';
3
3
  import '@vitest/runner/utils';
4
4
  import 'pathe';
@@ -6,6 +6,7 @@ import 'tinyrainbow';
6
6
  import './chunks/utils.BS4fH3nR.js';
7
7
  import 'node:util';
8
8
  import '@vitest/utils/helpers';
9
+ import 'node:fs/promises';
9
10
  import 'node:perf_hooks';
10
11
  import '@vitest/utils/source-map';
11
12
  import './chunks/env.D4Lgay0q.js';
@@ -20,7 +21,6 @@ import 'node:path';
20
21
  import 'node:url';
21
22
  import 'vite';
22
23
  import '@vitest/utils/offset';
23
- import 'node:fs/promises';
24
24
  import 'node:module';
25
25
 
26
26
  console.warn("Importing from \"vitest/reporters\" is deprecated since Vitest 4.1. Please use \"vitest/node\" instead.");
package/dist/runners.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as tinybench from 'tinybench';
2
2
  import { VitestRunner, VitestRunnerImportSource, Suite, File, Task, CancelReason, Test, TestContext, ImportDuration, createTaskCollector, getCurrentSuite, getCurrentTest, getHooks, getFn } from '@vitest/runner';
3
3
  export { VitestRunner } from '@vitest/runner';
4
- import { S as SerializedConfig } from './chunks/config.d.ChUh6-ad.js';
5
- import { T as Traces } from './chunks/traces.d.402V_yFI.js';
4
+ import { S as SerializedConfig } from './chunks/config.d.A1h_Y6Jt.js';
5
+ import { T as Traces } from './chunks/traces.d.D2T_R8rx.js';
6
6
  import { createChainable, matchesTags } from '@vitest/runner/utils';
7
7
  import { g as getBenchFn, a as getBenchOptions } from './chunks/suite.d.udJtyAgw.js';
8
8
  import '@vitest/pretty-format';
package/dist/runners.js CHANGED
@@ -1,4 +1,4 @@
1
- export { N as NodeBenchmarkRunner, T as VitestTestRunner } from './chunks/test.D1JkM1w4.js';
1
+ export { N as NodeBenchmarkRunner, T as VitestTestRunner } from './chunks/test.DNmyFkvJ.js';
2
2
  import '@vitest/runner';
3
3
  import '@vitest/utils/helpers';
4
4
  import '@vitest/utils/timers';
package/dist/worker.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.CckNUvI5.js';
2
- import { T as Traces } from './chunks/traces.d.402V_yFI.js';
1
+ import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.ZpHpO4yb.js';
2
+ import { T as Traces } from './chunks/traces.d.D2T_R8rx.js';
3
3
  import { Awaitable } from '@vitest/utils';
4
4
  import { ModuleRunner } from 'vite/module-runner';
5
- import { R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
5
+ import { R as RuntimeRPC } from './chunks/rpc.d.B_8sPU0w.js';
6
6
  import '@vitest/runner';
7
- import './chunks/config.d.ChUh6-ad.js';
7
+ import './chunks/config.d.A1h_Y6Jt.js';
8
8
  import '@vitest/pretty-format';
9
9
  import '@vitest/snapshot';
10
10
  import '@vitest/utils/diff';
package/dist/worker.js CHANGED
@@ -1,18 +1,18 @@
1
- export { r as runBaseTests, s as setupEnvironment } from './chunks/base.Cv_yNPUJ.js';
1
+ export { r as runBaseTests, s as setupEnvironment } from './chunks/base.RR7zL1h0.js';
2
2
  export { i as init } from './chunks/init.D98-gwRW.js';
3
3
  import 'node:vm';
4
4
  import '@vitest/spy';
5
- import './chunks/index.C3MK_gXn.js';
5
+ import './chunks/index.DXx9Dtk7.js';
6
6
  import '@vitest/expect';
7
7
  import 'node:async_hooks';
8
- import './chunks/setup-common.BDwxwUWG.js';
8
+ import './chunks/setup-common.DYx3LtFI.js';
9
9
  import './chunks/coverage.CTzCuANN.js';
10
10
  import '@vitest/snapshot';
11
11
  import '@vitest/utils/timers';
12
12
  import './chunks/utils.BX5Fg8C4.js';
13
13
  import './chunks/rpc.MzXet3jl.js';
14
14
  import './chunks/index.Chj8NDwU.js';
15
- import './chunks/test.D1JkM1w4.js';
15
+ import './chunks/test.DNmyFkvJ.js';
16
16
  import '@vitest/runner';
17
17
  import '@vitest/utils/helpers';
18
18
  import './chunks/benchmark.CX_oY03V.js';
@@ -47,7 +47,7 @@ import './chunks/inspector.CvyFGlXm.js';
47
47
  import 'node:timers';
48
48
  import 'node:timers/promises';
49
49
  import '@vitest/utils/constants';
50
- import './chunks/index.C-zNJvRx.js';
50
+ import './chunks/index.DdgEv5B1.js';
51
51
  import 'expect-type';
52
52
  import './chunks/index.DC7d2Pf8.js';
53
53
  import 'node:console';
@@ -1,18 +1,18 @@
1
- import { r as runBaseTests, s as setupBaseEnvironment } from '../chunks/base.Cv_yNPUJ.js';
1
+ import { r as runBaseTests, s as setupBaseEnvironment } from '../chunks/base.RR7zL1h0.js';
2
2
  import { w as workerInit } from '../chunks/init-forks.UV3ZQGQH.js';
3
3
  import 'node:vm';
4
4
  import '@vitest/spy';
5
- import '../chunks/index.C3MK_gXn.js';
5
+ import '../chunks/index.DXx9Dtk7.js';
6
6
  import '@vitest/expect';
7
7
  import 'node:async_hooks';
8
- import '../chunks/setup-common.BDwxwUWG.js';
8
+ import '../chunks/setup-common.DYx3LtFI.js';
9
9
  import '../chunks/coverage.CTzCuANN.js';
10
10
  import '@vitest/snapshot';
11
11
  import '@vitest/utils/timers';
12
12
  import '../chunks/utils.BX5Fg8C4.js';
13
13
  import '../chunks/rpc.MzXet3jl.js';
14
14
  import '../chunks/index.Chj8NDwU.js';
15
- import '../chunks/test.D1JkM1w4.js';
15
+ import '../chunks/test.DNmyFkvJ.js';
16
16
  import '@vitest/runner';
17
17
  import '@vitest/utils/helpers';
18
18
  import '../chunks/benchmark.CX_oY03V.js';
@@ -52,7 +52,7 @@ import 'node:perf_hooks';
52
52
  import 'node:timers';
53
53
  import 'node:timers/promises';
54
54
  import '@vitest/utils/constants';
55
- import '../chunks/index.C-zNJvRx.js';
55
+ import '../chunks/index.DdgEv5B1.js';
56
56
  import 'expect-type';
57
57
 
58
58
  workerInit({
@@ -5,12 +5,12 @@ import timersPromises from 'node:timers/promises';
5
5
  import util from 'node:util';
6
6
  import { startTests, collectTests } from '@vitest/runner';
7
7
  import { KNOWN_ASSET_TYPES } from '@vitest/utils/constants';
8
- import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment, d as detectAsyncLeaks } from '../chunks/index.C3MK_gXn.js';
9
- import { s as setupCommonEnv, b as startCoverageInsideWorker, c as stopCoverageInsideWorker } from '../chunks/setup-common.BDwxwUWG.js';
10
- import { i as index } from '../chunks/index.C-zNJvRx.js';
8
+ import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment, d as detectAsyncLeaks } from '../chunks/index.DXx9Dtk7.js';
9
+ import { s as setupCommonEnv, b as startCoverageInsideWorker, c as stopCoverageInsideWorker } from '../chunks/setup-common.DYx3LtFI.js';
10
+ import { i as index } from '../chunks/index.DdgEv5B1.js';
11
11
  import { c as closeInspector } from '../chunks/inspector.CvyFGlXm.js';
12
12
  import { g as getWorkerState } from '../chunks/utils.BX5Fg8C4.js';
13
- import { g as globalExpect } from '../chunks/test.D1JkM1w4.js';
13
+ import { g as globalExpect } from '../chunks/test.DNmyFkvJ.js';
14
14
  import '@vitest/expect';
15
15
  import 'node:async_hooks';
16
16
  import '../chunks/rpc.MzXet3jl.js';
@@ -1,18 +1,18 @@
1
- import { s as setupBaseEnvironment, r as runBaseTests } from '../chunks/base.Cv_yNPUJ.js';
1
+ import { s as setupBaseEnvironment, r as runBaseTests } from '../chunks/base.RR7zL1h0.js';
2
2
  import { w as workerInit } from '../chunks/init-threads.D3eCsY76.js';
3
3
  import 'node:vm';
4
4
  import '@vitest/spy';
5
- import '../chunks/index.C3MK_gXn.js';
5
+ import '../chunks/index.DXx9Dtk7.js';
6
6
  import '@vitest/expect';
7
7
  import 'node:async_hooks';
8
- import '../chunks/setup-common.BDwxwUWG.js';
8
+ import '../chunks/setup-common.DYx3LtFI.js';
9
9
  import '../chunks/coverage.CTzCuANN.js';
10
10
  import '@vitest/snapshot';
11
11
  import '@vitest/utils/timers';
12
12
  import '../chunks/utils.BX5Fg8C4.js';
13
13
  import '../chunks/rpc.MzXet3jl.js';
14
14
  import '../chunks/index.Chj8NDwU.js';
15
- import '../chunks/test.D1JkM1w4.js';
15
+ import '../chunks/test.DNmyFkvJ.js';
16
16
  import '@vitest/runner';
17
17
  import '@vitest/utils/helpers';
18
18
  import '../chunks/benchmark.CX_oY03V.js';
@@ -52,7 +52,7 @@ import 'node:perf_hooks';
52
52
  import 'node:timers';
53
53
  import 'node:timers/promises';
54
54
  import '@vitest/utils/constants';
55
- import '../chunks/index.C-zNJvRx.js';
55
+ import '../chunks/index.DdgEv5B1.js';
56
56
  import 'expect-type';
57
57
  import 'node:worker_threads';
58
58