vitest 0.2.6 → 0.3.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.
package/dist/node.d.ts CHANGED
@@ -596,7 +596,7 @@ interface InlineConfig {
596
596
  /**
597
597
  * Watch mode
598
598
  *
599
- * @default false
599
+ * @default true
600
600
  */
601
601
  watch?: boolean;
602
602
  /**
@@ -640,7 +640,7 @@ interface InlineConfig {
640
640
  /**
641
641
  * Default timeout of a hook in milliseconds
642
642
  *
643
- * @default 5000
643
+ * @default 10000
644
644
  */
645
645
  hookTimeout?: number;
646
646
  /**
@@ -774,7 +774,7 @@ interface UserConfig extends InlineConfig {
774
774
  */
775
775
  related?: string[] | string;
776
776
  }
777
- interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api'> {
777
+ interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api' | 'reporters'> {
778
778
  base?: string;
779
779
  config?: string;
780
780
  filters?: string[];
@@ -782,6 +782,7 @@ interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters'
782
782
  related?: string[];
783
783
  coverage: ResolvedC8Options;
784
784
  snapshotOptions: SnapshotStateOptions;
785
+ reporters: (Reporter | BuiltinReporters)[];
785
786
  api?: ApiConfig;
786
787
  }
787
788
 
package/dist/node.js CHANGED
@@ -1,29 +1,27 @@
1
- export { V as VitestPlugin, c as createVitest } from './create-a1bc541a.js';
2
- import './index-1964368a.js';
1
+ export { V as VitestPlugin, c as createVitest } from './create-b3b05216.js';
2
+ import './index-f55e7b59.js';
3
3
  import 'path';
4
+ import 'tty';
5
+ import 'local-pkg';
4
6
  import 'vite';
5
7
  import 'process';
6
8
  import 'fs';
7
- import './constants-de5287a6.js';
9
+ import './constants-8fcbf9b6.js';
8
10
  import 'url';
9
11
  import 'os';
10
12
  import 'util';
11
13
  import 'stream';
12
14
  import 'events';
13
- import './index-fcd4a465.js';
14
- import 'tty';
15
- import 'local-pkg';
16
- import './client-f15310bf.js';
15
+ import './client-ab3f363e.js';
17
16
  import 'module';
18
17
  import 'assert';
19
18
  import 'vm';
20
- import 'v8';
21
19
  import 'perf_hooks';
22
- import './diff-192d8dc6.js';
23
- import './source-map-a9204b39.js';
20
+ import './diff-e2ede84f.js';
21
+ import './source-map-0ecca7b8.js';
24
22
  import './index-648e7ab2.js';
25
23
  import './_commonjsHelpers-c9e3b764.js';
26
24
  import 'worker_threads';
27
25
  import 'tinypool';
28
26
  import './magic-string.es-94000aea.js';
29
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ==
27
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7In0=