vitest 0.32.4 → 0.33.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.
@@ -4,7 +4,7 @@ import { g as getDefaultExportFromCjs } from './vendor-_commonjsHelpers.7d1333e8
4
4
  import require$$2 from 'util';
5
5
  import require$$0$1 from 'child_process';
6
6
  import { p as pathKeyExports, s as signalExitExports, m as mergeStream$1, g as getStreamExports, c as crossSpawnExports } from './vendor-index.1f85e5f1.js';
7
- import { o as onetimeExports } from './vendor-cli-api.cb31e1db.js';
7
+ import { o as onetimeExports } from './vendor-cli-api.bf4b62a8.js';
8
8
  import require$$0 from 'os';
9
9
  import 'node:buffer';
10
10
  import 'node:path';
@@ -21,7 +21,7 @@ import 'node:util';
21
21
  import 'pathe';
22
22
  import './vendor-constants.538d9b49.js';
23
23
  import './vendor-coverage.2e41927a.js';
24
- import './vendor-environments.75f2b63d.js';
24
+ import './vendor-environments.392ddf08.js';
25
25
  import 'node:console';
26
26
  import 'local-pkg';
27
27
  import 'picocolors';
package/dist/cli.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { normalize } from 'pathe';
2
2
  import cac from 'cac';
3
3
  import c from 'picocolors';
4
- import { v as version, s as startVitest, d as divider } from './vendor-cli-api.cb31e1db.js';
4
+ import { v as version, s as startVitest, d as divider } from './vendor-cli-api.bf4b62a8.js';
5
5
  import './vendor-index.23ac4e13.js';
6
6
  import { t as toArray } from './vendor-index.cc463d9e.js';
7
7
  import './vendor-constants.538d9b49.js';
8
8
  import './vendor-coverage.2e41927a.js';
9
- import './vendor-environments.75f2b63d.js';
9
+ import './vendor-environments.392ddf08.js';
10
10
  import 'node:console';
11
11
  import 'local-pkg';
12
12
  import 'node:url';
@@ -16,8 +16,8 @@ import 'node:path';
16
16
  import 'node:process';
17
17
  import 'node:fs';
18
18
  import './vendor-_commonjsHelpers.7d1333e8.js';
19
- import 'path';
20
19
  import 'os';
20
+ import 'path';
21
21
  import 'util';
22
22
  import 'stream';
23
23
  import 'events';
package/dist/config.cjs CHANGED
@@ -6,7 +6,7 @@ var vite = require('vite');
6
6
  var _a;
7
7
  typeof process < "u" && typeof process.stdout < "u" && !((_a = process.versions) == null ? void 0 : _a.deno) && !globalThis.window;
8
8
 
9
- const defaultInclude = ["**/__tests__/**/*.?(c|m)[jt]s?(x)", "**/?(*.){test,spec}.?(c|m)[jt]s?(x)"];
9
+ const defaultInclude = ["**/*.{test,spec}.?(c|m)[jt]s?(x)"];
10
10
  const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*"];
11
11
  const defaultCoverageExcludes = [
12
12
  "coverage/**",
@@ -84,7 +84,7 @@ const config = {
84
84
  dangerouslyIgnoreUnhandledErrors: false,
85
85
  typecheck: {
86
86
  checker: "tsc",
87
- include: ["**/?(*.){test,spec}-d.?(c|m)[jt]s?(x)"],
87
+ include: ["**/*.{test,spec}-d.?(c|m)[jt]s?(x)"],
88
88
  exclude: defaultExclude
89
89
  },
90
90
  slowTestThreshold: 300
package/dist/config.js CHANGED
@@ -4,7 +4,7 @@ export { mergeConfig } from 'vite';
4
4
  var _a;
5
5
  typeof process < "u" && typeof process.stdout < "u" && !((_a = process.versions) == null ? void 0 : _a.deno) && !globalThis.window;
6
6
 
7
- const defaultInclude = ["**/__tests__/**/*.?(c|m)[jt]s?(x)", "**/?(*.){test,spec}.?(c|m)[jt]s?(x)"];
7
+ const defaultInclude = ["**/*.{test,spec}.?(c|m)[jt]s?(x)"];
8
8
  const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*"];
9
9
  const defaultCoverageExcludes = [
10
10
  "coverage/**",
@@ -82,7 +82,7 @@ const config = {
82
82
  dangerouslyIgnoreUnhandledErrors: false,
83
83
  typecheck: {
84
84
  checker: "tsc",
85
- include: ["**/?(*.){test,spec}-d.?(c|m)[jt]s?(x)"],
85
+ include: ["**/*.{test,spec}-d.?(c|m)[jt]s?(x)"],
86
86
  exclude: defaultExclude
87
87
  },
88
88
  slowTestThreshold: 300
package/dist/entry.js CHANGED
@@ -9,7 +9,7 @@ import { createRequire } from 'node:module';
9
9
  import { isatty } from 'node:tty';
10
10
  import { installSourcemapsSupport } from 'vite-node/source-map';
11
11
  import { setupColors, createColors, getSafeTimers } from '@vitest/utils';
12
- import { e as environments } from './vendor-environments.75f2b63d.js';
12
+ import { e as environments } from './vendor-environments.392ddf08.js';
13
13
  import { NodeSnapshotEnvironment } from '@vitest/snapshot/environment';
14
14
  import { a as rpc } from './vendor-rpc.ad5b08c7.js';
15
15
  import { i as index } from './vendor-index.2af39fbb.js';
@@ -1,3 +1,3 @@
1
- export { e as builtinEnvironments, p as populateGlobal } from './vendor-environments.75f2b63d.js';
1
+ export { e as builtinEnvironments, p as populateGlobal } from './vendor-environments.392ddf08.js';
2
2
  import 'node:console';
3
3
  import 'local-pkg';
package/dist/node.js CHANGED
@@ -1,9 +1,9 @@
1
- export { B as BaseSequencer, V as VitestPlugin, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor-cli-api.cb31e1db.js';
1
+ export { B as BaseSequencer, V as VitestPlugin, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor-cli-api.bf4b62a8.js';
2
2
  export { V as VitestExecutor } from './vendor-execute.3576af13.js';
3
3
  import 'pathe';
4
4
  import './vendor-constants.538d9b49.js';
5
5
  import './vendor-coverage.2e41927a.js';
6
- import './vendor-environments.75f2b63d.js';
6
+ import './vendor-environments.392ddf08.js';
7
7
  import 'node:console';
8
8
  import 'local-pkg';
9
9
  import 'node:url';
@@ -18,8 +18,8 @@ import 'node:path';
18
18
  import 'node:process';
19
19
  import 'node:fs';
20
20
  import './vendor-_commonjsHelpers.7d1333e8.js';
21
- import 'path';
22
21
  import 'os';
22
+ import 'path';
23
23
  import 'util';
24
24
  import 'stream';
25
25
  import 'events';