vitest 0.0.65 → 0.0.69
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/bin/vitest.mjs +3 -3
- package/dist/cli.js +3859 -0
- package/dist/constants-d4c70610.js +25 -0
- package/dist/entry.js +3330 -0
- package/dist/global-e40b54d6.js +16 -0
- package/dist/index-6427e0f2.js +12 -0
- package/dist/index-e37648e9.js +31 -0
- package/dist/index.d.ts +308 -9
- package/dist/index.js +5 -46
- package/dist/{chunk-LRXUKIDM.js → suite-819c135e.js} +24 -46
- package/dist/{chunk-NK2VTQLQ.js → utils-9dcc4050.js} +1 -18
- package/dist/{runtime/worker.js → worker.js} +31 -46
- package/package.json +15 -8
- package/dist/chunk-3GMBTS5G.js +0 -19
- package/dist/chunk-RNHB4AXG.js +0 -128
- package/dist/chunk-SF66BJ42.js +0 -78
- package/dist/chunk-VAUJEKEW.js +0 -86
- package/dist/global-OS2VOPCA.js +0 -20
- package/dist/node/cli.d.ts +0 -11
- package/dist/node/cli.js +0 -2003
- package/dist/options-652352ad.d.ts +0 -291
- package/dist/runtime/entry.d.ts +0 -7
- package/dist/runtime/entry.js +0 -2545
- package/dist/runtime/worker.d.ts +0 -23
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { resolve } from 'path';
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
3
|
+
|
|
4
|
+
const distDir = resolve(fileURLToPath(import.meta.url), "../../dist");
|
|
5
|
+
const defaultIncludes = ["**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"];
|
|
6
|
+
const defaultExcludes = ["**/node_modules/**", "**/dist/**"];
|
|
7
|
+
const globalApis = [
|
|
8
|
+
"suite",
|
|
9
|
+
"test",
|
|
10
|
+
"describe",
|
|
11
|
+
"it",
|
|
12
|
+
"chai",
|
|
13
|
+
"expect",
|
|
14
|
+
"assert",
|
|
15
|
+
"sinon",
|
|
16
|
+
"spy",
|
|
17
|
+
"mock",
|
|
18
|
+
"stub",
|
|
19
|
+
"beforeAll",
|
|
20
|
+
"afterAll",
|
|
21
|
+
"beforeEach",
|
|
22
|
+
"afterEach"
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
export { defaultExcludes as a, distDir as b, defaultIncludes as d, globalApis as g };
|