vitest 0.12.10 → 0.13.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.
@@ -1,5 +1,5 @@
1
1
  import { promises } from 'fs';
2
- import { c as createBirpc } from './chunk-vite-node-utils.eec5d968.js';
2
+ import { c as createBirpc } from './chunk-vite-node-utils.6856b365.js';
3
3
  import require$$0$1 from 'stream';
4
4
  import require$$0 from 'zlib';
5
5
  import require$$3 from 'net';
@@ -9,11 +9,11 @@ import require$$2 from 'events';
9
9
  import require$$1 from 'https';
10
10
  import require$$2$1 from 'http';
11
11
  import url from 'url';
12
- import { A as API_PATH } from './chunk-constants.e8bc5d35.js';
13
- import { j as interpretSourcePos, b as parseStacktrace } from './chunk-utils-source-map.6b6c39c8.js';
12
+ import { A as API_PATH } from './chunk-constants.d60bb984.js';
13
+ import { j as interpretSourcePos, b as parseStacktrace } from './chunk-utils-source-map.ded50c88.js';
14
14
  import 'module';
15
15
  import 'vm';
16
- import './chunk-utils-global.eb9e6d32.js';
16
+ import './chunk-utils-global.b9f8edf8.js';
17
17
  import 'tty';
18
18
  import 'local-pkg';
19
19
  import 'path';
@@ -1,5 +1,5 @@
1
1
  import { fileURLToPath } from 'url';
2
- import { l as resolve } from './chunk-utils-global.eb9e6d32.js';
2
+ import { l as resolve } from './chunk-utils-global.b9f8edf8.js';
3
3
 
4
4
  const distDir = resolve(fileURLToPath(import.meta.url), "../../dist");
5
5
  const defaultPort = 51204;
@@ -1,7 +1,7 @@
1
1
  import { existsSync, promises } from 'fs';
2
2
  import { createRequire } from 'module';
3
3
  import { pathToFileURL } from 'url';
4
- import { t as toArray, l as resolve } from './chunk-utils-global.eb9e6d32.js';
4
+ import { t as toArray, l as resolve } from './chunk-utils-global.b9f8edf8.js';
5
5
 
6
6
  const defaultInclude = ["**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"];
7
7
  const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**"];
@@ -2,7 +2,7 @@ import path$2 from 'path';
2
2
  import fs$2 from 'fs';
3
3
  import require$$0 from 'util';
4
4
  import childProcess$1 from 'child_process';
5
- import { p as pathKey, s as signalExit, m as mergeStream$1, g as getStream$1, c as crossSpawn$1, o as onetime$1 } from './vendor-index.40be925a.js';
5
+ import { p as pathKey, s as signalExit, m as mergeStream$1, g as getStream$1, c as crossSpawn$1, o as onetime$1 } from './vendor-index.42fcc02c.js';
6
6
  import require$$0$1 from 'os';
7
7
  import './vendor-_commonjsHelpers.addc3445.js';
8
8
  import 'assert';
@@ -1,20 +1,20 @@
1
- import { g as globalApis } from './chunk-constants.e8bc5d35.js';
2
- import { i as index } from './vendor-entry.3113977a.js';
1
+ import { g as globalApis } from './chunk-constants.d60bb984.js';
2
+ import { i as index } from './vendor-entry.6072d652.js';
3
3
  import 'url';
4
- import './chunk-utils-global.eb9e6d32.js';
4
+ import './chunk-utils-global.b9f8edf8.js';
5
5
  import 'tty';
6
6
  import 'local-pkg';
7
7
  import 'path';
8
8
  import 'fs';
9
- import './chunk-runtime-chain.d2ed2f76.js';
9
+ import './chunk-runtime-chain.db87de48.js';
10
10
  import 'chai';
11
11
  import './vendor-_commonjsHelpers.addc3445.js';
12
- import './chunk-runtime-rpc.d3d38fc1.js';
13
- import './chunk-utils-source-map.6b6c39c8.js';
12
+ import './chunk-runtime-rpc.6e6614a9.js';
13
+ import './chunk-utils-source-map.ded50c88.js';
14
14
  import './chunk-integrations-spy.bee66426.js';
15
15
  import 'tinyspy';
16
16
  import 'util';
17
- import './chunk-defaults.a3120857.js';
17
+ import './chunk-defaults.c11f632f.js';
18
18
  import 'module';
19
19
 
20
20
  function registerApiGlobally() {
@@ -1,9 +1,9 @@
1
1
  import chai$1, { expect as expect$1, AssertionError, util } from 'chai';
2
2
  import { c as commonjsGlobal } from './vendor-_commonjsHelpers.addc3445.js';
3
- import { r as rpc } from './chunk-runtime-rpc.d3d38fc1.js';
4
- import { i as isObject, j as join, d as dirname, g as getCallLastIndex, s as slash, a as getWorkerState, b as getNames, c as assertTypes, p as picocolors, e as safeSetTimeout, f as safeClearTimeout, n as noop, t as toArray, r as resetModules } from './chunk-utils-global.eb9e6d32.js';
3
+ import { r as rpc } from './chunk-runtime-rpc.6e6614a9.js';
4
+ import { i as isObject, j as join, d as dirname, g as getCallLastIndex, s as slash, a as getWorkerState, b as getNames, c as assertTypes, p as picocolors, e as safeSetTimeout, f as safeClearTimeout, n as noop, t as toArray, r as resetModules } from './chunk-utils-global.b9f8edf8.js';
5
5
  import fs, { promises } from 'fs';
6
- import { p as plugins_1, f as format_1, g as getOriginalPos, a as posToNumber, n as numberToPos, l as lineSplitRE, b as parseStacktrace, u as unifiedDiff, s as stringify, m as matcherUtils } from './chunk-utils-source-map.6b6c39c8.js';
6
+ import { p as plugins_1, f as format_1, g as getOriginalPos, a as posToNumber, n as numberToPos, l as lineSplitRE, b as parseStacktrace, u as unifiedDiff, s as stringify, m as matcherUtils } from './chunk-utils-source-map.ded50c88.js';
7
7
  import { i as isMockFunction, s as spyOn, f as fn, a as spies } from './chunk-integrations-spy.bee66426.js';
8
8
  import require$$0, { format } from 'util';
9
9
 
@@ -1,8 +1,8 @@
1
- import { n as normalizeRequestId, i as isNodeBuiltin, t as toFilePath, V as ViteNodeRunner } from './chunk-vite-node-utils.eec5d968.js';
1
+ import { n as normalizeRequestId, i as isNodeBuiltin, t as toFilePath, V as ViteNodeRunner } from './chunk-vite-node-utils.6856b365.js';
2
2
  import { normalizePath } from 'vite';
3
- import { a as getWorkerState, J as isWindows, K as mergeSlashes, d as dirname, l as resolve, k as basename, L as getType, M as getAllProperties, s as slash } from './chunk-utils-global.eb9e6d32.js';
3
+ import { a as getWorkerState, J as isWindows, K as mergeSlashes, d as dirname, l as resolve, k as basename, L as getType, M as getAllProperties, s as slash } from './chunk-utils-global.b9f8edf8.js';
4
4
  import { existsSync, readdirSync } from 'fs';
5
- import { d as distDir } from './chunk-constants.e8bc5d35.js';
5
+ import { d as distDir } from './chunk-constants.d60bb984.js';
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
8
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
@@ -1,4 +1,4 @@
1
- import { a as getWorkerState, w as withSafeTimers } from './chunk-utils-global.eb9e6d32.js';
1
+ import { a as getWorkerState, w as withSafeTimers } from './chunk-utils-global.b9f8edf8.js';
2
2
 
3
3
  const rpc = () => {
4
4
  const { rpc: rpc2 } = getWorkerState();
@@ -459,7 +459,7 @@ async function ensurePackageInstalled(dependency, promptInstall = !process.env.C
459
459
  message: picocolors.exports.reset(`Do you want to install ${picocolors.exports.green(dependency)}?`)
460
460
  });
461
461
  if (install) {
462
- await (await import('./chunk-install-pkg.73b84ae1.js')).installPackage(dependency, { dev: true });
462
+ await (await import('./chunk-install-pkg.8a034cf6.js')).installPackage(dependency, { dev: true });
463
463
  process.stderr.write(picocolors.exports.yellow(`
464
464
  Package ${dependency} installed, re-run the command to start.
465
465
  `));
@@ -1,4 +1,4 @@
1
- import { s as slash, h as notNullish, p as picocolors } from './chunk-utils-global.eb9e6d32.js';
1
+ import { s as slash, h as notNullish, p as picocolors } from './chunk-utils-global.b9f8edf8.js';
2
2
 
3
3
  var build = {};
4
4