vitest 0.3.0 → 0.3.4

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.js CHANGED
@@ -1,15 +1,13 @@
1
- export { d as describe, i as it, c as suite, t as test, e as vi, v as vitest } from './vi-93df942a.js';
2
- export { a as afterAll, d as afterEach, b as beforeAll, c as beforeEach, e as expect } from './index-afc85128.js';
1
+ export { d as describe, i as it, c as suite, t as test, e as vi, v as vitest } from './vi-14b6cd9b.js';
2
+ export { a as afterAll, d as afterEach, b as beforeAll, c as beforeEach, e as expect } from './index-c9e80681.js';
3
3
  export { fn, isMockFunction, spies, spyOn } from './jest-mock.js';
4
- export { c as configDefaults } from './constants-259a41c8.js';
4
+ export { c as configDefaults } from './defaults-ac98ff15.js';
5
5
  export { assert, default as chai, should } from 'chai';
6
6
  import 'util';
7
- import './index-f55e7b59.js';
8
- import 'path';
7
+ import './index-61b7ead7.js';
9
8
  import 'tty';
10
9
  import 'local-pkg';
11
- import './source-map-0ecca7b8.js';
10
+ import './source-map-c0dbec82.js';
12
11
  import './_commonjsHelpers-c9e3b764.js';
13
12
  import 'tinyspy';
14
- import 'url';
15
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OyJ9
13
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OzsifQ==
package/dist/node.d.ts CHANGED
@@ -757,10 +757,6 @@ interface UserConfig extends InlineConfig {
757
757
  * Use happy-dom
758
758
  */
759
759
  dom?: boolean;
760
- /**
761
- * Do not watch
762
- */
763
- run?: boolean;
764
760
  /**
765
761
  * Pass with no tests
766
762
  */
@@ -774,7 +770,7 @@ interface UserConfig extends InlineConfig {
774
770
  */
775
771
  related?: string[] | string;
776
772
  }
777
- interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api'> {
773
+ interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters' | 'coverage' | 'testNamePattern' | 'related' | 'api' | 'reporters'> {
778
774
  base?: string;
779
775
  config?: string;
780
776
  filters?: string[];
@@ -782,6 +778,7 @@ interface ResolvedConfig extends Omit<Required<UserConfig>, 'config' | 'filters'
782
778
  related?: string[];
783
779
  coverage: ResolvedC8Options;
784
780
  snapshotOptions: SnapshotStateOptions;
781
+ reporters: (Reporter | BuiltinReporters)[];
785
782
  api?: ApiConfig;
786
783
  }
787
784
 
package/dist/node.js CHANGED
@@ -1,27 +1,29 @@
1
- export { V as VitestPlugin, c as createVitest } from './create-d3b904b2.js';
2
- import './index-f55e7b59.js';
1
+ export { V as VitestPlugin, c as createVitest } from './create-03db0821.js';
2
+ import './index-373b5ce3.js';
3
3
  import 'path';
4
- import 'tty';
5
- import 'local-pkg';
6
4
  import 'vite';
7
5
  import 'process';
8
6
  import 'fs';
9
- import './constants-259a41c8.js';
7
+ import './constants-861ea902.js';
10
8
  import 'url';
11
9
  import 'os';
12
10
  import 'util';
13
11
  import 'stream';
14
12
  import 'events';
15
- import './client-ab3f363e.js';
13
+ import './index-61b7ead7.js';
14
+ import 'tty';
15
+ import 'local-pkg';
16
+ import './client-d27bd0a9.js';
16
17
  import 'module';
17
18
  import 'assert';
18
19
  import 'vm';
20
+ import './defaults-ac98ff15.js';
19
21
  import 'perf_hooks';
20
- import './diff-e2ede84f.js';
21
- import './source-map-0ecca7b8.js';
22
+ import './diff-21debc94.js';
23
+ import './source-map-c0dbec82.js';
22
24
  import './index-648e7ab2.js';
23
25
  import './_commonjsHelpers-c9e3b764.js';
24
26
  import 'worker_threads';
25
27
  import 'tinypool';
26
28
  import './magic-string.es-94000aea.js';
27
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7In0=
29
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ==