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/cli.js +9 -11
- package/dist/client-ab3f363e.js +9442 -0
- package/dist/constants-8fcbf9b6.js +80 -0
- package/dist/create-b3b05216.js +9218 -0
- package/dist/{diff-192d8dc6.js → diff-e2ede84f.js} +3 -4
- package/dist/entry.js +7 -8
- package/dist/{globals-eefe4292.js → globals-b87ef70d.js} +7 -8
- package/dist/{index-a564da18.js → index-e32575f8.js} +4 -2
- package/dist/index-f55e7b59.js +406 -0
- package/dist/index.d.ts +11 -8
- package/dist/index.js +8 -5
- package/dist/node.d.ts +4 -3
- package/dist/node.js +9 -11
- package/dist/{setup-95ace7dc.js → setup-55c4a74b.js} +48 -7
- package/dist/{source-map-a9204b39.js → source-map-0ecca7b8.js} +2 -2
- package/dist/{vi-1d006954.js → vi-93df942a.js} +9 -3
- package/dist/worker.js +17 -17
- package/package.json +9 -9
- package/dist/client-f15310bf.js +0 -9442
- package/dist/constants-de5287a6.js +0 -34
- package/dist/create-a1bc541a.js +0 -9205
- package/dist/index-1964368a.js +0 -187
- package/dist/index-fcd4a465.js +0 -222
package/dist/node.d.ts
CHANGED
|
@@ -596,7 +596,7 @@ interface InlineConfig {
|
|
|
596
596
|
/**
|
|
597
597
|
* Watch mode
|
|
598
598
|
*
|
|
599
|
-
* @default
|
|
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
|
|
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-
|
|
2
|
-
import './index-
|
|
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-
|
|
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 './
|
|
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-
|
|
23
|
-
import './source-map-
|
|
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,
|
|
27
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7In0=
|