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/cli.js +21 -15
- package/dist/{client-ab3f363e.js → client-d27bd0a9.js} +3 -3
- package/dist/constants-861ea902.js +32 -0
- package/dist/create-03db0821.js +9222 -0
- package/dist/defaults-ac98ff15.js +52 -0
- package/dist/{diff-e2ede84f.js → diff-21debc94.js} +4 -3
- package/dist/entry.js +8 -7
- package/dist/{globals-a1c78816.js → globals-bb4e160a.js} +9 -7
- package/dist/index-373b5ce3.js +187 -0
- package/dist/index-61b7ead7.js +218 -0
- package/dist/{index-afc85128.js → index-c9e80681.js} +3 -3
- package/dist/index.d.ts +11 -12
- package/dist/index.js +6 -8
- package/dist/node.d.ts +2 -5
- package/dist/node.js +11 -9
- package/dist/{setup-7939a7aa.js → setup-07bc1cf0.js} +6 -5
- package/dist/{source-map-0ecca7b8.js → source-map-c0dbec82.js} +2 -2
- package/dist/vi-14b6cd9b.js +5922 -0
- package/dist/worker.js +7 -6
- package/package.json +4 -4
- package/dist/constants-259a41c8.js +0 -81
- package/dist/create-d3b904b2.js +0 -9177
- package/dist/index-f55e7b59.js +0 -406
- package/dist/vi-93df942a.js +0 -5922
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-
|
|
2
|
-
export { a as afterAll, d as afterEach, b as beforeAll, c as beforeEach, e as expect } from './index-
|
|
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 './
|
|
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-
|
|
8
|
-
import 'path';
|
|
7
|
+
import './index-61b7ead7.js';
|
|
9
8
|
import 'tty';
|
|
10
9
|
import 'local-pkg';
|
|
11
|
-
import './source-map-
|
|
10
|
+
import './source-map-c0dbec82.js';
|
|
12
11
|
import './_commonjsHelpers-c9e3b764.js';
|
|
13
12
|
import 'tinyspy';
|
|
14
|
-
|
|
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-
|
|
2
|
-
import './index-
|
|
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-
|
|
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 './
|
|
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-
|
|
21
|
-
import './source-map-
|
|
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,
|
|
29
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ==
|