vitest 5.0.0 → 5.0.1

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 (49) hide show
  1. package/browser/context.d.ts +1 -1
  2. package/config.d.ts +0 -2
  3. package/dist/browser.d.ts +14 -1
  4. package/dist/browser.js +7 -7
  5. package/dist/chunks/{base.BTS5G301.js → base.Cc3oda2V.js} +14 -14
  6. package/dist/chunks/{cac.D805sv8h.js → cac.fSuRXrAx.js} +9 -9
  7. package/dist/chunks/{cli-api.LUtK11-x.js → cli-api.DcLieX4F.js} +3 -3
  8. package/dist/chunks/{console.CHi0lDgQ.js → console.B09ye7y0.js} +2 -2
  9. package/dist/chunks/{coverage.BtDxDqSU.js → coverage.AipniaqB.js} +1 -1
  10. package/dist/chunks/{coverage.BcXK1DsQ.js → coverage.CX7NN5s7.js} +1 -1
  11. package/dist/chunks/{creator.BHJ7K266.js → creator.BEj8pIIH.js} +10 -10
  12. package/dist/chunks/{doctor.CrUoUtdU.js → doctor.DR3u0Z_G.js} +7 -6
  13. package/dist/chunks/{globals.DQ4rmEUL.js → globals.D9ucJdZZ.js} +6 -6
  14. package/dist/chunks/{index.1_nbEjJY.js → index.D4dXTzh9.js} +8 -3
  15. package/dist/chunks/{index.5J3Pr46F.js → index.DNv8WNGe.js} +5 -5
  16. package/dist/chunks/{index.B89dZ0-N.js → index.DzobfTyw.js} +3724 -3716
  17. package/dist/chunks/{index.OVGXnVRj.js → index.m3L2HgmY.js} +11 -7
  18. package/dist/chunks/{init-forks.CiCtIMPj.js → init-forks.DgHqDQHC.js} +1 -1
  19. package/dist/chunks/{init-threads.DbGO6vUd.js → init-threads.B-t1iYCi.js} +1 -1
  20. package/dist/chunks/{init.BS957yFf.js → init.3UJvPvQg.js} +4 -4
  21. package/dist/chunks/{native.cLbCmZDO.js → native.CF4uT5hY.js} +1 -1
  22. package/dist/chunks/{nativeModuleMocker.E7jPi2fl.js → nativeModuleMocker.B20FEd-E.js} +2 -2
  23. package/dist/chunks/{nativeModuleRunner.BOvBCgI_.js → nativeModuleRunner.J0QLzNtK.js} +1 -1
  24. package/dist/chunks/{node.Es9ukMGX.js → node.CfQ_OGWr.js} +1 -1
  25. package/dist/chunks/{pathe.M-eThtNZ.Clq7AXhv.js → pathe.M-eThtNZ.DwEga6ro.js} +2 -1
  26. package/dist/chunks/{plugin.d.BbcoZhuj.d.ts → plugin.d.CN87HSxv.d.ts} +3 -3
  27. package/dist/chunks/{resolver.CBCHRZ7j.js → resolver.NpfwMKt9.js} +1 -1
  28. package/dist/chunks/{rpc.DWKX1ZbI.js → rpc.Bvs-iVxs.js} +2 -2
  29. package/dist/chunks/{run.CQOUYP-x.js → run.C5UmxDPh.js} +3 -3
  30. package/dist/chunks/{setup-common.D5-2VgqG.js → setup-common.BkQOiNcI.js} +2 -2
  31. package/dist/chunks/{source-map.Dx3YPjIe.js → source-map.BH0bbrs9.js} +1 -1
  32. package/dist/chunks/{spy.DPLvp2J7.js → spy.DQ0ZsPbi.js} +1 -1
  33. package/dist/chunks/{utils.CtqmNjXD.js → utils.CJ0JImL8.js} +1 -1
  34. package/dist/chunks/{vm.BQTVRi0W.js → vm.W4G5WMTl.js} +6 -6
  35. package/dist/cli.js +2 -2
  36. package/dist/config.d.ts +2 -2
  37. package/dist/index.js +6 -6
  38. package/dist/node.d.ts +2 -2
  39. package/dist/node.js +14 -14
  40. package/dist/runtime.js +4 -4
  41. package/dist/spy.js +1 -1
  42. package/dist/task-utils.js +1 -1
  43. package/dist/worker.js +13 -13
  44. package/dist/workers/forks.js +14 -14
  45. package/dist/workers/runVmTests.js +10 -10
  46. package/dist/workers/threads.js +14 -14
  47. package/dist/workers/vmForks.js +10 -10
  48. package/dist/workers/vmThreads.js +10 -10
  49. package/package.json +12 -12
@@ -1,8 +1,8 @@
1
- import { b as printDiffOrStringify, d as diff, a as processError, T as TestSyntaxError, g as getCurrentTest, c as createTaskCollector, e as getCurrentSuite, f as createChainable, h as getHooks, i as getFn, m as matchesTags, j as afterAll, k as afterEach, l as aroundAll, n as aroundEach, o as beforeAll, q as beforeEach, r as describe, t as it, u as onTestFailed, v as onTestFinished, w as recordArtifact, x as suite, y as test } from './run.CQOUYP-x.js';
1
+ import { b as printDiffOrStringify, d as diff, a as processError, T as TestSyntaxError, g as getCurrentTest, c as createTaskCollector, e as getCurrentSuite, f as createChainable, h as getHooks, i as getFn, m as matchesTags, j as afterAll, k as afterEach, l as aroundAll, n as aroundEach, o as beforeAll, q as beforeEach, r as describe, t as it, u as onTestFailed, v as onTestFinished, w as recordArtifact, x as suite, y as test } from './run.C5UmxDPh.js';
2
2
  import { i as isChildProcess, r as resetModules, g as getWorkerState } from './utils.DYj33du9.js';
3
- import { e as getDefaultExportFromCjs, f as parseErrorStacktrace, h as commonjsGlobal, a as getSafeTimers, i as parseSingleStack, j as delay } from './source-map.Dx3YPjIe.js';
4
- import { i as isMockFunction, f as fn, a as spyOn, r as restoreAllMocks, b as resetAllMocks, c as clearAllMocks } from './spy.DPLvp2J7.js';
5
- import { u as isObject, B as getCallLastIndex, g as getType, D as noop, x as assertTypes, w as ordinal, E as createSimpleStackTrace, i as isAbsolute, a as relative, n as normalize } from './pathe.M-eThtNZ.Clq7AXhv.js';
3
+ import { e as getDefaultExportFromCjs, f as parseErrorStacktrace, h as commonjsGlobal, a as getSafeTimers, i as parseSingleStack, j as delay } from './source-map.BH0bbrs9.js';
4
+ import { i as isMockFunction, f as fn, a as spyOn, r as restoreAllMocks, b as resetAllMocks, c as clearAllMocks } from './spy.DQ0ZsPbi.js';
5
+ import { u as isObject, B as getCallLastIndex, g as getType, D as noop, x as assertTypes, w as ordinal, E as createSimpleStackTrace, i as isAbsolute, a as relative, n as normalize } from './pathe.M-eThtNZ.DwEga6ro.js';
6
6
  import { s as stringify, i as inspect } from './display.pkpxlVcY.js';
7
7
  import { y } from './tinyrainbow.Ht9iggcq.js';
8
8
  import * as chai from 'chai';
@@ -11,7 +11,7 @@ import { getNames, getTests, getTestName, createFileTask } from '../task-utils.j
11
11
  import { g as getSerializers, a as addSerializer } from './plugins.Cigb0uSy.js';
12
12
  import { p as positionToOffset, o as offsetToLineNumber, l as lineSplitRE } from './offset.Dy-5Fdfn.js';
13
13
  import { f as format } from './index.M2dsQ_UQ.js';
14
- import { r as rpc, V as VitestEvaluatedModules } from './rpc.DWKX1ZbI.js';
14
+ import { r as rpc, V as VitestEvaluatedModules } from './rpc.Bvs-iVxs.js';
15
15
  import { Bench } from 'tinybench';
16
16
  import { expectTypeOf } from 'expect-type';
17
17
 
@@ -462,7 +462,7 @@ class SnapshotState {
462
462
  // skip snapshots with following keys
463
463
  // testName n
464
464
  // testName > xxx n (this is for toMatchSnapshot("xxx") API)
465
- if (/ \d+$| > /.test(uncheckedKey.slice(testName.length))) this._uncheckedKeys.delete(uncheckedKey);
465
+ if (uncheckedKey.startsWith(testName) && /^ \d+$|^ > /.test(uncheckedKey.slice(testName.length))) this._uncheckedKeys.delete(uncheckedKey);
466
466
  });
467
467
  }
468
468
  clearTest(testId) {
@@ -940,7 +940,7 @@ class SnapshotClient {
940
940
  };
941
941
  }
942
942
  // TODO: should `all` mode ignore parse error?
943
- // Sielently hiding the error and creating snaphsot full scratch isn't good either.
943
+ // Silently hiding the error and creating snapshot full scratch isn't good either.
944
944
  // Users can fix or purge the broken snapshot manually and that decision affects how domain snapshot gets updated.
945
945
  const matchResult = expectedSnapshot.data !== void 0 ? adapter.match(stableResult.captured, adapter.parseExpected(expectedSnapshot.data)) : void 0;
946
946
  const { actual, expected, key, pass } = snapshotState.processDomainSnapshot({
@@ -6819,6 +6819,10 @@ class FakeTimers {
6819
6819
  if (toFake === void 0 && toNotFake === void 0)
6820
6820
  // Do not mock timers internally used by node by default. It can still be mocked through userConfig.
6821
6821
  toFake = Object.keys(this._fakeTimers.timers).filter((timer) => timer !== "nextTick" && timer !== "queueMicrotask");
6822
+ else if (toFake === void 0 && toNotFake !== void 0) {
6823
+ // Do not mock timers internally used by node via `toNotFake`
6824
+ for (const timer of ["nextTick", "queueMicrotask"]) if (!toNotFake.includes(timer)) toNotFake = [...toNotFake, timer];
6825
+ }
6822
6826
  if (isChildProcess() && toNotFake && !toNotFake.includes("nextTick")) toNotFake = [...toNotFake, "nextTick"];
6823
6827
  this._clock = this._fakeTimers.install({
6824
6828
  now: fakeDate,
@@ -1,4 +1,4 @@
1
- import { i as init } from './init.BS957yFf.js';
1
+ import { i as init } from './init.3UJvPvQg.js';
2
2
 
3
3
  if (!process.send) throw new Error("Expected worker to be run in node:child_process");
4
4
  // Store globals in case tests overwrite them
@@ -1,5 +1,5 @@
1
1
  import { isMainThread, parentPort } from 'node:worker_threads';
2
- import { i as init } from './init.BS957yFf.js';
2
+ import { i as init } from './init.3UJvPvQg.js';
3
3
 
4
4
  if (isMainThread || !parentPort) throw new Error("Expected worker to be run in node:worker_threads");
5
5
  function workerInit(options) {
@@ -2,13 +2,13 @@ import { readFileSync } from 'node:fs';
2
2
  import module$1, { isBuiltin } from 'node:module';
3
3
  import { pathToFileURL } from 'node:url';
4
4
  import { EvaluatedModules, ModuleRunner } from 'vite/module-runner';
5
- import { e as environments, b as VitestTransport } from './index.1_nbEjJY.js';
6
- import { r as resolve } from './pathe.M-eThtNZ.Clq7AXhv.js';
7
- import { b as serializeValue, c as createStackString, p as parseStacktrace } from './source-map.Dx3YPjIe.js';
5
+ import { e as environments, b as VitestTransport } from './index.D4dXTzh9.js';
6
+ import { r as resolve } from './pathe.M-eThtNZ.DwEga6ro.js';
7
+ import { b as serializeValue, c as createStackString, p as parseStacktrace } from './source-map.BH0bbrs9.js';
8
8
  import './index.M2dsQ_UQ.js';
9
9
  import { m } from './tinyrainbow.Ht9iggcq.js';
10
10
  import { Traces } from '../traces.js';
11
- import { o as onCancel, V as VitestEvaluatedModules, a as rpcDone, c as createRuntimeRpc } from './rpc.DWKX1ZbI.js';
11
+ import { o as onCancel, V as VitestEvaluatedModules, a as rpcDone, c as createRuntimeRpc } from './rpc.Bvs-iVxs.js';
12
12
  import { s as setupInspect } from './inspector.CvyFGlXm.js';
13
13
  import { E as EnvironmentTeardownError } from './utils.DYj33du9.js';
14
14
 
@@ -2,7 +2,7 @@ import module$1, { isBuiltin } from 'node:module';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import { MessageChannel } from 'node:worker_threads';
4
4
  import { initSyntaxLexers, hoistMocks } from '@vitest/mocker/transforms';
5
- import { c as cleanUrl, r as resolve } from './pathe.M-eThtNZ.Clq7AXhv.js';
5
+ import { c as cleanUrl, r as resolve } from './pathe.M-eThtNZ.DwEga6ro.js';
6
6
  import { p as parse } from './acorn.C1kjbUFw.js';
7
7
  import MagicString from 'magic-string';
8
8
  import { y } from './tinyrainbow.Ht9iggcq.js';
@@ -1,10 +1,10 @@
1
1
  import module$1, { isBuiltin } from 'node:module';
2
2
  import { fileURLToPath, pathToFileURL } from 'node:url';
3
3
  import { automockModule, createManualModuleSource, collectModuleExports } from '@vitest/mocker/transforms';
4
- import { c as cleanUrl, e as createDefer, i as isAbsolute } from './pathe.M-eThtNZ.Clq7AXhv.js';
4
+ import { c as cleanUrl, e as createDefer, i as isAbsolute } from './pathe.M-eThtNZ.DwEga6ro.js';
5
5
  import { p as parse } from './acorn.C1kjbUFw.js';
6
6
  import { t as toBuiltin } from './modules.BJuCwlRJ.js';
7
- import { B as BareModuleMocker, n as normalizeModuleId } from './index.1_nbEjJY.js';
7
+ import { B as BareModuleMocker, n as normalizeModuleId } from './index.D4dXTzh9.js';
8
8
  import 'node:fs';
9
9
  import './utils.DYj33du9.js';
10
10
  import '../path.js';
@@ -7,7 +7,7 @@ import fs from 'node:fs/promises';
7
7
  import assert from 'node:assert';
8
8
  import v8 from 'node:v8';
9
9
  import { format, inspect } from 'node:util';
10
- import { i as isAbsolute, r as resolve } from './pathe.M-eThtNZ.Clq7AXhv.js';
10
+ import { i as isAbsolute, r as resolve } from './pathe.M-eThtNZ.DwEga6ro.js';
11
11
  import { ModuleRunner } from 'vite/module-runner';
12
12
 
13
13
  const JOIN_LEADING_SLASH_RE = /^\.?\//;
@@ -1,6 +1,6 @@
1
1
  import { g as getWorkerState } from './utils.DYj33du9.js';
2
2
  import { promises, existsSync } from 'node:fs';
3
- import { i as isAbsolute, r as resolve, d as dirname, j as join, b as basename } from './pathe.M-eThtNZ.Clq7AXhv.js';
3
+ import { i as isAbsolute, r as resolve, d as dirname, j as join, b as basename } from './pathe.M-eThtNZ.DwEga6ro.js';
4
4
 
5
5
  class NodeSnapshotEnvironment {
6
6
  options;
@@ -280,6 +280,7 @@ function deepMerge(target, ...sources) {
280
280
  const source = sources.shift();
281
281
  if (source === void 0) return target;
282
282
  if (isMergeableObject(target) && isMergeableObject(source)) Object.keys(source).forEach((key) => {
283
+ if (key === "__proto__" || key === "constructor" || key === "prototype") return;
283
284
  const _source = source;
284
285
  if (isMergeableObject(_source[key])) {
285
286
  if (!target[key]) target[key] = {};
@@ -486,4 +487,4 @@ const basename = function(p, extension) {
486
487
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
487
488
  };
488
489
 
489
- export { objectAttr as A, getCallLastIndex as B, CSS_LANGS_RE as C, noop as D, createSimpleStackTrace as E, withTrailingSlash as F, wrapId as G, deepMerge as H, isExternalUrl as I, unwrapId as J, KNOWN_ASSET_TYPES as K, sanitizeFilePath as L, relative as a, basename as b, cleanUrl as c, dirname as d, createDefer as e, extname as f, getType as g, KNOWN_ASSET_RE as h, isAbsolute as i, join as j, splitFileAndPostfix as k, isBareImport as l, isPrimitive as m, normalize as n, notNullish as o, deepClone as p, getOwnProperties as q, resolve as r, slash as s, toArray as t, isObject as u, filterOutComments as v, ordinal as w, assertTypes as x, isNegativeNaN as y, unique as z };
490
+ export { objectAttr as A, getCallLastIndex as B, CSS_LANGS_RE as C, noop as D, createSimpleStackTrace as E, withTrailingSlash as F, wrapId as G, isExternalUrl as H, unwrapId as I, deepMerge as J, KNOWN_ASSET_TYPES as K, sanitizeFilePath as L, relative as a, basename as b, cleanUrl as c, dirname as d, createDefer as e, extname as f, getType as g, KNOWN_ASSET_RE as h, isAbsolute as i, join as j, splitFileAndPostfix as k, isBareImport as l, isPrimitive as m, normalize as n, notNullish as o, deepClone as p, getOwnProperties as q, resolve as r, slash as s, toArray as t, isObject as u, filterOutComments as v, ordinal as w, assertTypes as x, isNegativeNaN as y, unique as z };
@@ -3326,7 +3326,7 @@ interface BenchmarkUserOptions {
3326
3326
  suppressExportGetterWarnings?: boolean;
3327
3327
  }
3328
3328
  type ResolvedBenchmarkOptions = Omit<Required<BenchmarkUserOptions>, "provider"> & {
3329
- provider?: string | undefined;
3329
+ provider?: string;
3330
3330
  };
3331
3331
 
3332
3332
  type BuiltinEnvironment = "node" | "jsdom" | "happy-dom" | "edge-runtime";
@@ -4254,7 +4254,7 @@ interface TypecheckConfig {
4254
4254
  /**
4255
4255
  * Pattern for files that should not be treated as test files
4256
4256
  *
4257
- * @default ['**\/node_modules/**', '**\/dist/**', '**\/cypress/**', '**\/.{idea,git,cache,output,temp}/**', '**\/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*']
4257
+ * @default ['**\/node_modules/**', '**\/.git/**']
4258
4258
  */
4259
4259
  exclude: string[];
4260
4260
  /**
@@ -4399,7 +4399,7 @@ interface ResolvedConfig extends Omit<Required<UserConfig>, "project" | "config"
4399
4399
  };
4400
4400
  runner?: string;
4401
4401
  maxWorkers: number;
4402
- vmMemoryLimit?: UserConfig["vmMemoryLimit"];
4402
+ vmMemoryLimit?: string | number;
4403
4403
  dumpDir?: string;
4404
4404
  tagsFilter?: string[];
4405
4405
  mergeReportsLabel?: string;
@@ -1,5 +1,5 @@
1
1
  import fs__default from 'node:fs';
2
- import { b as basename, j as join, d as dirname } from './pathe.M-eThtNZ.Clq7AXhv.js';
2
+ import { b as basename, j as join, d as dirname } from './pathe.M-eThtNZ.DwEga6ro.js';
3
3
 
4
4
  const packageScopeTypeCache = /* @__PURE__ */ new Map();
5
5
  // mirrors LOOKUP_PACKAGE_SCOPE from the ESM resolution algorithm:
@@ -1,6 +1,6 @@
1
1
  import { EvaluatedModules } from 'vite/module-runner';
2
- import { d as dirname, r as resolve } from './pathe.M-eThtNZ.Clq7AXhv.js';
3
- import { a as getSafeTimers } from './source-map.Dx3YPjIe.js';
2
+ import { d as dirname, r as resolve } from './pathe.M-eThtNZ.DwEga6ro.js';
3
+ import { a as getSafeTimers } from './source-map.BH0bbrs9.js';
4
4
  import { c as createBirpc } from './index.DmDMHCg8.js';
5
5
  import { g as getWorkerState } from './utils.DYj33du9.js';
6
6
 
@@ -1,8 +1,8 @@
1
1
  import { f as format, p as plugins } from './index.M2dsQ_UQ.js';
2
2
  import { y } from './tinyrainbow.Ht9iggcq.js';
3
3
  import { s as stringify, f as format$1, a as formatRegExp, t as truncateString, i as inspect } from './display.pkpxlVcY.js';
4
- import { p as deepClone, q as getOwnProperties, g as getType$1, u as isObject, v as filterOutComments, w as ordinal, e as createDefer, x as assertTypes, t as toArray, y as isNegativeNaN, z as unique, A as objectAttr } from './pathe.M-eThtNZ.Clq7AXhv.js';
5
- import { d as diffSequences, b as serializeValue, p as parseStacktrace, a as getSafeTimers } from './source-map.Dx3YPjIe.js';
4
+ import { p as deepClone, q as getOwnProperties, g as getType$1, u as isObject, v as filterOutComments, w as ordinal, e as createDefer, x as assertTypes, t as toArray, y as isNegativeNaN, z as unique, A as objectAttr } from './pathe.M-eThtNZ.DwEga6ro.js';
5
+ import { d as diffSequences, b as serializeValue, p as parseStacktrace, a as getSafeTimers } from './source-map.BH0bbrs9.js';
6
6
  import { createTaskName, createFileTask, calculateSuiteHash, interpretTaskModes, hasFailed } from '../task-utils.js';
7
7
 
8
8
  const RealDate = Date;
@@ -2202,7 +2202,7 @@ function validateTags(config, tags) {
2202
2202
  for (const tag of tags) if (!availableTags.has(tag)) throw createNoTagsError(config.tags, tag);
2203
2203
  }
2204
2204
  function createNoTagsError(availableTags, tag, prefix = "tag") {
2205
- if (!availableTags.length) throw new Error(`The Vitest config does't define any "tags", cannot apply "${tag}" ${prefix} for this test. See: https://vitest.dev/guide/test-tags`);
2205
+ if (!availableTags.length) throw new Error(`The Vitest config doesn't define any "tags", cannot apply "${tag}" ${prefix} for this test. See: https://vitest.dev/guide/test-tags`);
2206
2206
  throw new Error(`The ${prefix} "${tag}" is not defined in the configuration. Available tags are:\n${availableTags.map((t) => `- ${t.name}${t.description ? `: ${t.description}` : ""}`).join("\n")}`);
2207
2207
  }
2208
2208
  function createTagsFilter(tagsExpr, availableTags) {
@@ -1,4 +1,4 @@
1
- import { s as setSafeTimers } from './source-map.Dx3YPjIe.js';
1
+ import { s as setSafeTimers } from './source-map.BH0bbrs9.js';
2
2
  import { a as addSerializer } from './plugins.Cigb0uSy.js';
3
3
 
4
4
  let globalSetup = false;
@@ -7,7 +7,7 @@ async function setupCommonEnv(config) {
7
7
  if (globalSetup) return;
8
8
  globalSetup = true;
9
9
  setSafeTimers();
10
- if (config.globals) (await import('./globals.DQ4rmEUL.js')).registerApiGlobally();
10
+ if (config.globals) (await import('./globals.D9ucJdZZ.js')).registerApiGlobally();
11
11
  }
12
12
  function setupDefines(config) {
13
13
  for (const key in config.defines) globalThis[key] = config.defines[key];
@@ -1,4 +1,4 @@
1
- import { m as isPrimitive, o as notNullish, r as resolve$1 } from './pathe.M-eThtNZ.Clq7AXhv.js';
1
+ import { m as isPrimitive, o as notNullish, r as resolve$1 } from './pathe.M-eThtNZ.DwEga6ro.js';
2
2
 
3
3
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -368,7 +368,7 @@ function reparentMockPrototype(mock, implementation) {
368
368
  // function) reverts the chain to `Object.prototype`, the parent every mock
369
369
  // is created with
370
370
  const parent = implementation?.prototype ?? Object.prototype;
371
- if (Object.getPrototypeOf(mockPrototype) !== parent) Object.setPrototypeOf(mockPrototype, parent);
371
+ if (mockPrototype !== parent && Object.getPrototypeOf(mockPrototype) !== parent) Object.setPrototypeOf(mockPrototype, parent);
372
372
  }
373
373
  function registerCalls(args, state, prototypeState) {
374
374
  state.calls.push(args);
@@ -1,6 +1,6 @@
1
1
  import { stripVTControlCharacters } from 'node:util';
2
2
  import { t as truncateString$1 } from './display.pkpxlVcY.js';
3
- import { i as isAbsolute, a as relative, d as dirname, b as basename, s as slash } from './pathe.M-eThtNZ.Clq7AXhv.js';
3
+ import { i as isAbsolute, a as relative, d as dirname, b as basename, s as slash } from './pathe.M-eThtNZ.DwEga6ro.js';
4
4
  import { y } from './tinyrainbow.Ht9iggcq.js';
5
5
 
6
6
  const F_RIGHT = "→";
@@ -1,18 +1,18 @@
1
1
  import { fileURLToPath, pathToFileURL } from 'node:url';
2
2
  import v8 from 'node:v8';
3
3
  import vm, { isContext, runInContext } from 'node:vm';
4
- import { l as loadEnvironment, a as listenForErrors, e as emitModuleRunner } from './init.BS957yFf.js';
4
+ import { l as loadEnvironment, a as listenForErrors, e as emitModuleRunner } from './init.3UJvPvQg.js';
5
5
  import { distDir } from '../path.js';
6
- import { createCustomConsole } from './console.CHi0lDgQ.js';
6
+ import { createCustomConsole } from './console.B09ye7y0.js';
7
7
  import fs__default from 'node:fs';
8
8
  import { createRequire, Module, isBuiltin } from 'node:module';
9
- import { d as dirname, f as extname, b as basename, C as CSS_LANGS_RE, h as KNOWN_ASSET_RE, t as toArray, k as splitFileAndPostfix, n as normalize, l as isBareImport, r as resolve } from './pathe.M-eThtNZ.Clq7AXhv.js';
10
- import { l as lookupPackageScopeType } from './resolver.CBCHRZ7j.js';
9
+ import { d as dirname, f as extname, b as basename, C as CSS_LANGS_RE, h as KNOWN_ASSET_RE, t as toArray, k as splitFileAndPostfix, n as normalize, l as isBareImport, r as resolve } from './pathe.M-eThtNZ.DwEga6ro.js';
10
+ import { l as lookupPackageScopeType } from './resolver.NpfwMKt9.js';
11
11
  import { initSync, parse } from 'es-module-lexer';
12
12
  import { dirname as dirname$1 } from 'node:path';
13
- import { V as VITEST_VM_CONTEXT_SYMBOL, s as startVitestModuleRunner, c as createNodeImportMeta } from './index.1_nbEjJY.js';
13
+ import { V as VITEST_VM_CONTEXT_SYMBOL, s as startVitestModuleRunner, c as createNodeImportMeta } from './index.D4dXTzh9.js';
14
14
  import { getDefaultRequestStubs } from '../module-evaluator.js';
15
- import { b as setupEnv } from './setup-common.D5-2VgqG.js';
15
+ import { b as setupEnv } from './setup-common.BkQOiNcI.js';
16
16
  import { p as provideWorkerState } from './utils.DYj33du9.js';
17
17
 
18
18
  /**
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as createCLI } from './chunks/cac.D805sv8h.js';
2
- import './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
1
+ import { c as createCLI } from './chunks/cac.fSuRXrAx.js';
2
+ import './chunks/pathe.M-eThtNZ.DwEga6ro.js';
3
3
  import 'events';
4
4
  import './chunks/tinyrainbow.Ht9iggcq.js';
5
5
  import './chunks/env.DzFJjrmK.js';
package/dist/config.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { HookHandler, UserConfig, ConfigEnv } from 'vite';
2
2
  export { ConfigEnv, Plugin, UserConfig as ViteUserConfig, mergeConfig } from 'vite';
3
- import { F as FieldsWithDefaultValues, U as UserWorkspaceConfig, a as UserProjectConfigFn, b as UserProjectConfigExport } from './chunks/plugin.d.BbcoZhuj.js';
3
+ import { F as FieldsWithDefaultValues, U as UserWorkspaceConfig, a as UserProjectConfigFn, b as UserProjectConfigExport } from './chunks/plugin.d.CN87HSxv.js';
4
4
  import { InlineConfig, ResolvedConfig, VitestPluginContext, CoverageOptions } from './node.js';
5
- export { T as TestProjectConfiguration, c as TestProjectInlineConfiguration, d as TestUserConfig, W as WatcherTriggerPattern } from './chunks/plugin.d.BbcoZhuj.js';
5
+ export { T as TestProjectConfiguration, c as TestProjectInlineConfiguration, d as TestUserConfig, W as WatcherTriggerPattern } from './chunks/plugin.d.CN87HSxv.js';
6
6
  import { C as Config } from './chunks/config.d.CU_b-wJj.js';
7
7
  export { e as TestTagDefinition } from './chunks/config.d.CU_b-wJj.js';
8
8
  import 'node:stream';
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- export { S as Snapshots, T as TestRunner, a as assert, b as assertType, c as createExpect, g as expect, d as inject, s as should, v as vi, e as vitest } from './chunks/index.OVGXnVRj.js';
2
- export { V as EvaluatedModules } from './chunks/rpc.DWKX1ZbI.js';
3
- export { j as afterAll, k as afterEach, l as aroundAll, n as aroundEach, o as beforeAll, q as beforeEach, r as describe, t as it, u as onTestFailed, v as onTestFinished, w as recordArtifact, x as suite, y as test } from './chunks/run.CQOUYP-x.js';
1
+ export { S as Snapshots, T as TestRunner, a as assert, b as assertType, c as createExpect, g as expect, d as inject, s as should, v as vi, e as vitest } from './chunks/index.m3L2HgmY.js';
2
+ export { V as EvaluatedModules } from './chunks/rpc.Bvs-iVxs.js';
3
+ export { j as afterAll, k as afterEach, l as aroundAll, n as aroundEach, o as beforeAll, q as beforeEach, r as describe, t as it, u as onTestFailed, v as onTestFinished, w as recordArtifact, x as suite, y as test } from './chunks/run.C5UmxDPh.js';
4
4
  export { expectTypeOf } from 'expect-type';
5
5
  import * as chai from 'chai';
6
6
  export { chai };
7
7
  import './chunks/utils.DYj33du9.js';
8
- import './chunks/source-map.Dx3YPjIe.js';
9
- import './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
10
- import './chunks/spy.DPLvp2J7.js';
8
+ import './chunks/source-map.BH0bbrs9.js';
9
+ import './chunks/pathe.M-eThtNZ.DwEga6ro.js';
10
+ import './chunks/spy.DQ0ZsPbi.js';
11
11
  import './chunks/display.pkpxlVcY.js';
12
12
  import './chunks/index.M2dsQ_UQ.js';
13
13
  import './chunks/tinyrainbow.Ht9iggcq.js';
package/dist/node.d.ts CHANGED
@@ -3,8 +3,8 @@ import { UserConfig as UserConfig$1, ResolvedConfig as ResolvedConfig$1, Transfo
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 CliOptions, d as UserConfig, L as Logger, A as ApiConfig, P as PluginHarness, f as Vitest, g as ResolvedCoverageOptions, h as CoverageMap, i as ReportContext, j as TestProject, k as VitestOptions, l as VitestRunMode, m as TestSpecification, n as PoolWorker, o as PoolOptions, p as WorkerRequest, q as TestSequencer } from './chunks/plugin.d.BbcoZhuj.js';
7
- export { M as AgentReporter, B as BaseCoverageOptions, r as BaseReporter, s as BenchmarkUserOptions, t as BrowserBuiltinProvider, u as BrowserCommand, v as BrowserCommandContext, w as BrowserConfigOptions, x as BrowserInstanceOption, y as BrowserModuleMocker, z as BrowserOrchestrator, D as BrowserProvider, E as BrowserProviderOption, G as BrowserScript, H as BrowserServerContribution, J as BrowserServerFactory, K as BrowserServerState, N as BrowserServerStateSession, O as BrowserTraceViewOptions, Q as BuiltinEnvironment, S as BuiltinReporterOptions, X as BuiltinReporters, Y as CSSModuleScopeStrategy, Z as CacheKeyIdGenerator, _ as CacheKeyIdGeneratorContext, $ as CoverageInstrumenter, a0 as CoverageIstanbulOptions, C as CoverageOptions, a1 as CoverageProvider, a2 as CoverageProviderModule, a3 as CoverageReporter, a4 as CoverageV8Options, a5 as CustomProviderOptions, a6 as DefaultReporter, a7 as DepsOptimizationOptions, a8 as DotReporter, a9 as EnvironmentOptions, aa as GithubActionsReporter, ab as HTMLOptions, ac as HangingProcessReporter, I as InlineConfig, ad as InstrumenterOptions, ae as JUnitOptions, af as JUnitReporter, ag as JsonAssertionResult, ah as JsonOptions, ai as JsonReporter, aj as JsonTestResult, ak as JsonTestResults, M as MinimalReporter, al as ModuleDiagnostic, am as OnServerRestartHandler, an as OnTestsRerunHandler, ao as ParentProjectBrowser, ap as Pool, aq as PoolRunnerInitializer, ar as PoolTask, as as ProjectBrowser, at as ProjectConfig, au as Report, av as ReportedHookContext, aw as Reporter, ax as ReportersMap, ay as ResolveSnapshotPathHandler, az as ResolveSnapshotPathHandlerContext, aA as ResolvedBrowserOptions, aB as ResolvedProjectConfig, aC as SerializedTestProject, aD as SuiteNameTemplateVariables, aE as TapFlatReporter, aF as TapReporter, aG as TaskOptions, aH as TestCase, aI as TestCollection, aJ as TestDiagnostic, aK as TestModule, aL as TestModuleState, aM as TestResult, aN as TestResultFailed, aO as TestResultPassed, aP as TestResultPending, aQ as TestResultSkipped, aR as TestRunEndReason, aS as TestRunResult, aT as TestSequencerConstructor, aU as TestSpecificationOptions, aV as TestState, aW as TestSuite, aX as TestSuiteState, aY as ToMatchScreenshotComparators, aZ as ToMatchScreenshotOptions, a_ as TypecheckConfig, U as UserWorkspaceConfig, a$ as VerboseReporter, b0 as VitestEnvironment, b1 as VitestPackageInstaller, V as VitestPluginContext, W as WatcherTriggerPattern, b2 as WorkerResponse, b3 as _BrowserNames, b4 as experimental_getRunnerTask, b5 as startVitest } from './chunks/plugin.d.BbcoZhuj.js';
6
+ import { R as ResolvedConfig, e as CliOptions, d as UserConfig, L as Logger, A as ApiConfig, P as PluginHarness, f as Vitest, g as ResolvedCoverageOptions, h as CoverageMap, i as ReportContext, j as TestProject, k as VitestOptions, l as VitestRunMode, m as TestSpecification, n as PoolWorker, o as PoolOptions, p as WorkerRequest, q as TestSequencer } from './chunks/plugin.d.CN87HSxv.js';
7
+ export { M as AgentReporter, B as BaseCoverageOptions, r as BaseReporter, s as BenchmarkUserOptions, t as BrowserBuiltinProvider, u as BrowserCommand, v as BrowserCommandContext, w as BrowserConfigOptions, x as BrowserInstanceOption, y as BrowserModuleMocker, z as BrowserOrchestrator, D as BrowserProvider, E as BrowserProviderOption, G as BrowserScript, H as BrowserServerContribution, J as BrowserServerFactory, K as BrowserServerState, N as BrowserServerStateSession, O as BrowserTraceViewOptions, Q as BuiltinEnvironment, S as BuiltinReporterOptions, X as BuiltinReporters, Y as CSSModuleScopeStrategy, Z as CacheKeyIdGenerator, _ as CacheKeyIdGeneratorContext, $ as CoverageInstrumenter, a0 as CoverageIstanbulOptions, C as CoverageOptions, a1 as CoverageProvider, a2 as CoverageProviderModule, a3 as CoverageReporter, a4 as CoverageV8Options, a5 as CustomProviderOptions, a6 as DefaultReporter, a7 as DepsOptimizationOptions, a8 as DotReporter, a9 as EnvironmentOptions, aa as GithubActionsReporter, ab as HTMLOptions, ac as HangingProcessReporter, I as InlineConfig, ad as InstrumenterOptions, ae as JUnitOptions, af as JUnitReporter, ag as JsonAssertionResult, ah as JsonOptions, ai as JsonReporter, aj as JsonTestResult, ak as JsonTestResults, M as MinimalReporter, al as ModuleDiagnostic, am as OnServerRestartHandler, an as OnTestsRerunHandler, ao as ParentProjectBrowser, ap as Pool, aq as PoolRunnerInitializer, ar as PoolTask, as as ProjectBrowser, at as ProjectConfig, au as Report, av as ReportedHookContext, aw as Reporter, ax as ReportersMap, ay as ResolveSnapshotPathHandler, az as ResolveSnapshotPathHandlerContext, aA as ResolvedBrowserOptions, aB as ResolvedProjectConfig, aC as SerializedTestProject, aD as SuiteNameTemplateVariables, aE as TapFlatReporter, aF as TapReporter, aG as TaskOptions, aH as TestCase, aI as TestCollection, aJ as TestDiagnostic, aK as TestModule, aL as TestModuleState, aM as TestResult, aN as TestResultFailed, aO as TestResultPassed, aP as TestResultPending, aQ as TestResultSkipped, aR as TestRunEndReason, aS as TestRunResult, aT as TestSequencerConstructor, aU as TestSpecificationOptions, aV as TestState, aW as TestSuite, aX as TestSuiteState, aY as ToMatchScreenshotComparators, aZ as ToMatchScreenshotOptions, a_ as TypecheckConfig, U as UserWorkspaceConfig, a$ as VerboseReporter, b0 as VitestEnvironment, b1 as VitestPackageInstaller, V as VitestPluginContext, W as WatcherTriggerPattern, b2 as WorkerResponse, b3 as _BrowserNames, b4 as experimental_getRunnerTask, b5 as startVitest } from './chunks/plugin.d.CN87HSxv.js';
8
8
  import { EventEmitter } from 'events';
9
9
  import { A as Awaitable } from './chunks/config.d.CU_b-wJj.js';
10
10
  import { AfterSuiteRunMeta } from './index.js';
package/dist/node.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as vite from 'vite';
2
2
  export { esbuildVersion, isCSSRequest, isFileLoadingAllowed, parseAst, parseAstAsync, rollupVersion, version as viteVersion } from 'vite';
3
- import { V as Vitest } from './chunks/index.B89dZ0-N.js';
4
- export { M as AgentReporter, B as BaseCoverageProvider, a as BaseSequencer, b as BrowserConnectionError, D as DefaultReporter, c as DotReporter, F as ForksPoolWorker, G as GitNotFoundError, d as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, e as JsonReporter, L as Logger, M as MinimalReporter, P as PluginHarness, R as ReportersMap, T as TapFlatReporter, f as TapReporter, g as TestsNotFoundError, h as ThreadsPoolWorker, i as TypecheckPoolWorker, j as VerboseReporter, k as VitestPackageInstaller, l as VmForksPoolWorker, m as VmThreadsPoolWorker, n as createDebugger, o as createMethodsRPC, p as createViteLogger, q as escapeTestName, r as experimental_getRunnerTask, s as getFilePoolName, t as isFileServingAllowed, u as isValidApiRequest, v as resolveApiServerConfig, w as resolveConfig, x as resolveFsAllow } from './chunks/index.B89dZ0-N.js';
5
- export { c as createCLI, p as parseCLI } from './chunks/cac.D805sv8h.js';
6
- export { c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './chunks/cli-api.LUtK11-x.js';
3
+ import { V as Vitest } from './chunks/index.DzobfTyw.js';
4
+ export { M as AgentReporter, B as BaseCoverageProvider, a as BaseSequencer, b as BrowserConnectionError, D as DefaultReporter, c as DotReporter, F as ForksPoolWorker, G as GitNotFoundError, d as GithubActionsReporter, H as HangingProcessReporter, J as JUnitReporter, e as JsonReporter, L as Logger, M as MinimalReporter, P as PluginHarness, R as ReportersMap, T as TapFlatReporter, f as TapReporter, g as TestsNotFoundError, h as ThreadsPoolWorker, i as TypecheckPoolWorker, j as VerboseReporter, k as VitestPackageInstaller, l as VmForksPoolWorker, m as VmThreadsPoolWorker, n as createDebugger, o as createMethodsRPC, p as createViteLogger, q as escapeTestName, r as experimental_getRunnerTask, s as getFilePoolName, t as isFileServingAllowed, u as isValidApiRequest, v as resolveApiServerConfig, w as resolveConfig, x as resolveFsAllow } from './chunks/index.DzobfTyw.js';
5
+ export { c as createCLI, p as parseCLI } from './chunks/cac.fSuRXrAx.js';
6
+ export { c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './chunks/cli-api.DcLieX4F.js';
7
7
  export { distDir, rootDir } from './path.js';
8
8
  export { generateFileHash } from './task-utils.js';
9
9
  export { m as disableDefaultColors } from './chunks/tinyrainbow.Ht9iggcq.js';
10
10
  import 'node:os';
11
- import './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
12
- import './chunks/source-map.Dx3YPjIe.js';
11
+ import './chunks/pathe.M-eThtNZ.DwEga6ro.js';
12
+ import './chunks/source-map.BH0bbrs9.js';
13
13
  import 'node:fs';
14
14
  import 'node:perf_hooks';
15
15
  import './chunks/index.DmDMHCg8.js';
@@ -26,10 +26,10 @@ import 'buffer';
26
26
  import 'util';
27
27
  import './chunks/constants.-juJ8b_4.js';
28
28
  import 'node:crypto';
29
- import './chunks/run.CQOUYP-x.js';
29
+ import './chunks/run.C5UmxDPh.js';
30
30
  import './chunks/index.M2dsQ_UQ.js';
31
31
  import './chunks/display.pkpxlVcY.js';
32
- import './chunks/nativeModuleRunner.BOvBCgI_.js';
32
+ import './chunks/nativeModuleRunner.J0QLzNtK.js';
33
33
  import 'node:url';
34
34
  import 'node:module';
35
35
  import 'node:path';
@@ -41,22 +41,22 @@ import 'node:util';
41
41
  import 'vite/module-runner';
42
42
  import './traces.js';
43
43
  import 'obug';
44
- import 'tinyglobby';
45
- import './chunks/defaults.D2ip7f-X.js';
44
+ import './chunks/resolver.NpfwMKt9.js';
45
+ import 'es-module-lexer';
46
46
  import './chunks/env.DzFJjrmK.js';
47
47
  import 'std-env';
48
+ import 'tinyglobby';
49
+ import './chunks/defaults.D2ip7f-X.js';
48
50
  import 'magic-string';
49
51
  import '@vitest/mocker/node';
50
52
  import 'node:console';
51
53
  import 'node:stream';
52
54
  import 'tinyexec';
53
55
  import './chunks/offset.Dy-5Fdfn.js';
54
- import './chunks/utils.CtqmNjXD.js';
56
+ import './chunks/utils.CJ0JImL8.js';
55
57
  import '#module-evaluator';
56
58
  import 'picomatch';
57
- import './chunks/coverage.BcXK1DsQ.js';
58
- import './chunks/resolver.CBCHRZ7j.js';
59
- import 'es-module-lexer';
59
+ import './chunks/coverage.CX7NN5s7.js';
60
60
  import 'node:tty';
61
61
  import 'node:events';
62
62
  import './chunks/modules.BJuCwlRJ.js';
package/dist/runtime.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { VitestModuleEvaluator } from './module-evaluator.js';
2
- import { V as VITEST_VM_CONTEXT_SYMBOL, s as startVitestModuleRunner, a as VitestModuleRunner } from './chunks/index.1_nbEjJY.js';
3
- export { e as builtinEnvironments, p as populateGlobal } from './chunks/index.1_nbEjJY.js';
2
+ import { V as VITEST_VM_CONTEXT_SYMBOL, s as startVitestModuleRunner, a as VitestModuleRunner } from './chunks/index.D4dXTzh9.js';
3
+ export { e as builtinEnvironments, p as populateGlobal } from './chunks/index.D4dXTzh9.js';
4
4
  import { g as getWorkerState } from './chunks/utils.DYj33du9.js';
5
- export { VitestNodeSnapshotEnvironment as VitestSnapshotEnvironment } from './chunks/node.Es9ukMGX.js';
5
+ export { VitestNodeSnapshotEnvironment as VitestSnapshotEnvironment } from './chunks/node.CfQ_OGWr.js';
6
6
  import 'node:module';
7
7
  import 'node:url';
8
8
  import 'node:vm';
9
9
  import 'vite/module-runner';
10
10
  import './traces.js';
11
11
  import 'node:fs';
12
- import './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
12
+ import './chunks/pathe.M-eThtNZ.DwEga6ro.js';
13
13
  import './chunks/modules.BJuCwlRJ.js';
14
14
  import './path.js';
15
15
  import 'node:path';
package/dist/spy.js CHANGED
@@ -1 +1 @@
1
- export { c as clearAllMocks, d as createMockInstance, f as fn, i as isMockFunction, b as resetAllMocks, r as restoreAllMocks, a as spyOn } from './chunks/spy.DPLvp2J7.js';
1
+ export { c as clearAllMocks, d as createMockInstance, f as fn, i as isMockFunction, b as resetAllMocks, r as restoreAllMocks, a as spyOn } from './chunks/spy.DQ0ZsPbi.js';
@@ -1,4 +1,4 @@
1
- import { t as toArray, a as relative } from './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
1
+ import { t as toArray, a as relative } from './chunks/pathe.M-eThtNZ.DwEga6ro.js';
2
2
 
3
3
  /* @__NO_SIDE_EFFECTS__ */
4
4
  function isTestCase(s) {
package/dist/worker.js CHANGED
@@ -1,31 +1,31 @@
1
- export { r as runBaseTests, s as setupEnvironment } from './chunks/base.BTS5G301.js';
2
- export { i as init } from './chunks/init.BS957yFf.js';
1
+ export { r as runBaseTests, s as setupEnvironment } from './chunks/base.Cc3oda2V.js';
2
+ export { i as init } from './chunks/init.3UJvPvQg.js';
3
3
  import 'node:vm';
4
- import './chunks/spy.DPLvp2J7.js';
5
- import './chunks/index.5J3Pr46F.js';
4
+ import './chunks/spy.DQ0ZsPbi.js';
5
+ import './chunks/index.DNv8WNGe.js';
6
6
  import 'chai';
7
7
  import 'node:async_hooks';
8
- import './chunks/coverage.BtDxDqSU.js';
9
- import './chunks/coverage.BcXK1DsQ.js';
10
- import './chunks/pathe.M-eThtNZ.Clq7AXhv.js';
11
- import './chunks/rpc.DWKX1ZbI.js';
8
+ import './chunks/coverage.AipniaqB.js';
9
+ import './chunks/coverage.CX7NN5s7.js';
10
+ import './chunks/pathe.M-eThtNZ.DwEga6ro.js';
11
+ import './chunks/rpc.Bvs-iVxs.js';
12
12
  import 'vite/module-runner';
13
- import './chunks/source-map.Dx3YPjIe.js';
13
+ import './chunks/source-map.BH0bbrs9.js';
14
14
  import './chunks/index.DmDMHCg8.js';
15
15
  import './chunks/utils.DYj33du9.js';
16
- import './chunks/setup-common.D5-2VgqG.js';
16
+ import './chunks/setup-common.BkQOiNcI.js';
17
17
  import './chunks/plugins.Cigb0uSy.js';
18
18
  import './chunks/index.M2dsQ_UQ.js';
19
19
  import './chunks/tinyrainbow.Ht9iggcq.js';
20
- import './chunks/index.OVGXnVRj.js';
21
- import './chunks/run.CQOUYP-x.js';
20
+ import './chunks/index.m3L2HgmY.js';
21
+ import './chunks/run.C5UmxDPh.js';
22
22
  import './chunks/display.pkpxlVcY.js';
23
23
  import './task-utils.js';
24
24
  import './chunks/offset.Dy-5Fdfn.js';
25
25
  import 'tinybench';
26
26
  import 'expect-type';
27
27
  import './traces.js';
28
- import './chunks/index.1_nbEjJY.js';
28
+ import './chunks/index.D4dXTzh9.js';
29
29
  import 'node:fs';
30
30
  import './chunks/modules.BJuCwlRJ.js';
31
31
  import 'node:module';
@@ -1,34 +1,34 @@
1
- import { r as runBaseTests, s as setupBaseEnvironment } from '../chunks/base.BTS5G301.js';
2
- import { w as workerInit } from '../chunks/init-forks.CiCtIMPj.js';
1
+ import { r as runBaseTests, s as setupBaseEnvironment } from '../chunks/base.Cc3oda2V.js';
2
+ import { w as workerInit } from '../chunks/init-forks.DgHqDQHC.js';
3
3
  import 'node:vm';
4
- import '../chunks/spy.DPLvp2J7.js';
5
- import '../chunks/index.5J3Pr46F.js';
4
+ import '../chunks/spy.DQ0ZsPbi.js';
5
+ import '../chunks/index.DNv8WNGe.js';
6
6
  import 'chai';
7
7
  import 'node:async_hooks';
8
- import '../chunks/coverage.BtDxDqSU.js';
9
- import '../chunks/coverage.BcXK1DsQ.js';
10
- import '../chunks/pathe.M-eThtNZ.Clq7AXhv.js';
11
- import '../chunks/rpc.DWKX1ZbI.js';
8
+ import '../chunks/coverage.AipniaqB.js';
9
+ import '../chunks/coverage.CX7NN5s7.js';
10
+ import '../chunks/pathe.M-eThtNZ.DwEga6ro.js';
11
+ import '../chunks/rpc.Bvs-iVxs.js';
12
12
  import 'vite/module-runner';
13
- import '../chunks/source-map.Dx3YPjIe.js';
13
+ import '../chunks/source-map.BH0bbrs9.js';
14
14
  import '../chunks/index.DmDMHCg8.js';
15
15
  import '../chunks/utils.DYj33du9.js';
16
- import '../chunks/setup-common.D5-2VgqG.js';
16
+ import '../chunks/setup-common.BkQOiNcI.js';
17
17
  import '../chunks/plugins.Cigb0uSy.js';
18
18
  import '../chunks/index.M2dsQ_UQ.js';
19
19
  import '../chunks/tinyrainbow.Ht9iggcq.js';
20
- import '../chunks/index.OVGXnVRj.js';
21
- import '../chunks/run.CQOUYP-x.js';
20
+ import '../chunks/index.m3L2HgmY.js';
21
+ import '../chunks/run.C5UmxDPh.js';
22
22
  import '../chunks/display.pkpxlVcY.js';
23
23
  import '../task-utils.js';
24
24
  import '../chunks/offset.Dy-5Fdfn.js';
25
25
  import 'tinybench';
26
26
  import 'expect-type';
27
- import '../chunks/init.BS957yFf.js';
27
+ import '../chunks/init.3UJvPvQg.js';
28
28
  import 'node:fs';
29
29
  import 'node:module';
30
30
  import 'node:url';
31
- import '../chunks/index.1_nbEjJY.js';
31
+ import '../chunks/index.D4dXTzh9.js';
32
32
  import '../chunks/modules.BJuCwlRJ.js';
33
33
  import '../path.js';
34
34
  import 'node:path';
@@ -3,22 +3,22 @@ import { performance } from 'node:perf_hooks';
3
3
  import timers from 'node:timers';
4
4
  import timersPromises from 'node:timers/promises';
5
5
  import util from 'node:util';
6
- import { K as KNOWN_ASSET_TYPES } from '../chunks/pathe.M-eThtNZ.Clq7AXhv.js';
7
- import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment, d as detectAsyncLeaks } from '../chunks/index.5J3Pr46F.js';
8
- import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from '../chunks/coverage.BtDxDqSU.js';
9
- import { i as index, g as globalExpect } from '../chunks/index.OVGXnVRj.js';
6
+ import { K as KNOWN_ASSET_TYPES } from '../chunks/pathe.M-eThtNZ.DwEga6ro.js';
7
+ import { s as setupChaiConfig, r as resolveTestRunner, a as resolveSnapshotEnvironment, d as detectAsyncLeaks } from '../chunks/index.DNv8WNGe.js';
8
+ import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from '../chunks/coverage.AipniaqB.js';
9
+ import { i as index, g as globalExpect } from '../chunks/index.m3L2HgmY.js';
10
10
  import { c as closeInspector } from '../chunks/inspector.CvyFGlXm.js';
11
- import { s as startTests, p as publicCollect } from '../chunks/run.CQOUYP-x.js';
12
- import { s as setupCommonEnv } from '../chunks/setup-common.D5-2VgqG.js';
11
+ import { s as startTests, p as publicCollect } from '../chunks/run.C5UmxDPh.js';
12
+ import { s as setupCommonEnv } from '../chunks/setup-common.BkQOiNcI.js';
13
13
  import { g as getWorkerState } from '../chunks/utils.DYj33du9.js';
14
14
  import 'chai';
15
15
  import 'node:async_hooks';
16
- import '../chunks/rpc.DWKX1ZbI.js';
16
+ import '../chunks/rpc.Bvs-iVxs.js';
17
17
  import 'vite/module-runner';
18
- import '../chunks/source-map.Dx3YPjIe.js';
18
+ import '../chunks/source-map.BH0bbrs9.js';
19
19
  import '../chunks/index.DmDMHCg8.js';
20
- import '../chunks/coverage.BcXK1DsQ.js';
21
- import '../chunks/spy.DPLvp2J7.js';
20
+ import '../chunks/coverage.CX7NN5s7.js';
21
+ import '../chunks/spy.DQ0ZsPbi.js';
22
22
  import '../chunks/display.pkpxlVcY.js';
23
23
  import '../chunks/index.M2dsQ_UQ.js';
24
24
  import '../chunks/tinyrainbow.Ht9iggcq.js';