vitest 0.5.5 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -867,6 +867,12 @@ interface InlineConfig {
867
867
  */
868
868
  fallbackCJS?: boolean;
869
869
  };
870
+ /**
871
+ * Base directory to scan for the test files
872
+ *
873
+ * @default `config.root`
874
+ */
875
+ dir?: string;
870
876
  /**
871
877
  * Register apis globally
872
878
  *
package/dist/node.d.ts CHANGED
@@ -572,6 +572,12 @@ interface InlineConfig {
572
572
  */
573
573
  fallbackCJS?: boolean;
574
574
  };
575
+ /**
576
+ * Base directory to scan for the test files
577
+ *
578
+ * @default `config.root`
579
+ */
580
+ dir?: string;
575
581
  /**
576
582
  * Register apis globally
577
583
  *
package/dist/node.js CHANGED
@@ -1,4 +1,4 @@
1
- export { V as VitestPlugin, c as createVitest, s as startVitest } from './chunk-vite-node-externalize.70d7fd52.js';
1
+ export { V as VitestPlugin, c as createVitest, s as startVitest } from './chunk-vite-node-externalize.fcce9ced.js';
2
2
  import 'buffer';
3
3
  import 'path';
4
4
  import 'child_process';
@@ -18,10 +18,10 @@ import 'local-pkg';
18
18
  import './vendor-index.76be1f4d.js';
19
19
  import 'vite';
20
20
  import './chunk-constants.a1a50d89.js';
21
- import './chunk-vite-node-utils.d38851ea.js';
21
+ import './chunk-vite-node-utils.f2f4fe4b.js';
22
22
  import 'module';
23
23
  import 'vm';
24
- import './chunk-defaults.1725002f.js';
24
+ import './chunk-defaults.99570caf.js';
25
25
  import './chunk-utils-source-map.be2b14e2.js';
26
26
  import 'perf_hooks';
27
27
  import 'worker_threads';
package/dist/worker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { d as dirname, b as basename, a as resolve } from './vendor-index.76be1f4d.js';
2
- import { i as isNodeBuiltin, t as toFilePath, V as ViteNodeRunner, c as createBirpc } from './chunk-vite-node-utils.d38851ea.js';
2
+ import { i as isNodeBuiltin, t as toFilePath, V as ViteNodeRunner, c as createBirpc } from './chunk-vite-node-utils.f2f4fe4b.js';
3
3
  import { d as distDir } from './chunk-constants.a1a50d89.js';
4
4
  import { existsSync, readdirSync } from 'fs';
5
5
  import { m as isWindows, o as mergeSlashes } from './chunk-utils-base.39767f3e.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitest",
3
- "version": "0.5.5",
3
+ "version": "0.5.8",
4
4
  "description": "A blazing fast unit test framework powered by Vite",
5
5
  "keywords": [
6
6
  "vite",
@@ -70,10 +70,10 @@
70
70
  "@types/jsdom": "^16.2.14",
71
71
  "@types/micromatch": "^4.0.2",
72
72
  "@types/natural-compare": "^1.4.1",
73
- "@types/node": "^17.0.19",
73
+ "@types/node": "^17.0.21",
74
74
  "@types/prompts": "^2.4.0",
75
75
  "@types/sinonjs__fake-timers": "^8.1.1",
76
- "@vitest/ui": "0.5.5",
76
+ "@vitest/ui": "0.5.8",
77
77
  "birpc": "^0.1.0",
78
78
  "c8": "^7.11.0",
79
79
  "cac": "^6.7.12",
@@ -84,7 +84,7 @@
84
84
  "fast-glob": "^3.2.11",
85
85
  "find-up": "^6.3.0",
86
86
  "flatted": "^3.2.5",
87
- "happy-dom": "^2.39.1",
87
+ "happy-dom": "^2.41.0",
88
88
  "jsdom": "^19.0.0",
89
89
  "log-update": "^5.0.0",
90
90
  "magic-string": "^0.25.7",
@@ -97,11 +97,11 @@
97
97
  "pkg-types": "^0.3.2",
98
98
  "pretty-format": "^27.5.1",
99
99
  "prompts": "^2.4.2",
100
- "rollup": "^2.67.3",
100
+ "rollup": "^2.68.0",
101
101
  "source-map-js": "^1.0.2",
102
102
  "strip-ansi": "^7.0.1",
103
103
  "typescript": "^4.5.5",
104
- "vite-node": "0.5.5",
104
+ "vite-node": "0.5.8",
105
105
  "ws": "^8.5.0"
106
106
  },
107
107
  "peerDependencies": {