vitest 0.6.0 → 0.7.0
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/{chunk-api-setup.8a83fa48.js → chunk-api-setup.124ffd49.js} +5 -5
- package/dist/{chunk-constants.a82c3238.js → chunk-constants.3c02fa95.js} +2 -2
- package/dist/{chunk-defaults.8d4c2fa4.js → chunk-defaults.00934aae.js} +2 -2
- package/dist/chunk-integrations-globals.f9bdfc7b.js +25 -0
- package/dist/chunk-runtime-chain.4422c0fc.js +7089 -0
- package/dist/chunk-runtime-rpc.d609e403.js +9 -0
- package/dist/chunk-utils-base.7c918096.js +409 -0
- package/dist/chunk-utils-global.7bcfa03c.js +6 -0
- package/dist/chunk-utils-path.f4e6a133.js +267 -0
- package/dist/{chunk-utils-source-map.bc814f37.js → chunk-utils-source-map.de9cc412.js} +2 -2
- package/dist/{chunk-vite-node-externalize.feaddbac.js → chunk-vite-node-externalize.7999d177.js} +696 -798
- package/dist/{chunk-vite-node-utils.4a2f9073.js → chunk-vite-node-utils.42d37fe8.js} +38 -22
- package/dist/cli.js +8 -8
- package/dist/config.d.ts +3 -2
- package/dist/entry.js +69 -28
- package/dist/index.d.ts +21 -10
- package/dist/index.js +6 -5
- package/dist/jest-mock.js +4 -3
- package/dist/node.d.ts +107 -3
- package/dist/node.js +9 -7
- package/dist/worker.js +13 -264
- package/package.json +32 -32
- package/dist/chunk-integrations-globals.8b635704.js +0 -24
- package/dist/chunk-runtime-chain.d117aaa7.js +0 -7035
- package/dist/chunk-runtime-rpc.1832c38c.js +0 -6
- package/dist/chunk-utils-base.a107f2b1.js +0 -409
package/dist/config.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ interface DepsHandlingOptions {
|
|
|
92
92
|
inline?: (string | RegExp)[];
|
|
93
93
|
/**
|
|
94
94
|
* Try to guess the CJS version of a package when it's invalid ESM
|
|
95
|
-
* @default
|
|
95
|
+
* @default false
|
|
96
96
|
*/
|
|
97
97
|
fallbackCJS?: boolean;
|
|
98
98
|
}
|
|
@@ -532,6 +532,7 @@ interface TaskBase {
|
|
|
532
532
|
interface TaskResult {
|
|
533
533
|
state: TaskState;
|
|
534
534
|
duration?: number;
|
|
535
|
+
startTime?: number;
|
|
535
536
|
error?: ErrorWithDiff;
|
|
536
537
|
hooks?: Partial<Record<keyof SuiteHooks, TaskState>>;
|
|
537
538
|
}
|
|
@@ -664,7 +665,7 @@ interface InlineConfig {
|
|
|
664
665
|
* This will significantly improve the performance in huge repo, but might potentially
|
|
665
666
|
* cause some misalignment if a package have different logic in ESM and CJS mode.
|
|
666
667
|
*
|
|
667
|
-
* @default
|
|
668
|
+
* @default false
|
|
668
669
|
*/
|
|
669
670
|
fallbackCJS?: boolean;
|
|
670
671
|
};
|