vitest 1.0.1 → 1.0.2
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/LICENSE.md +0 -17
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/child.js +3 -3
- package/dist/chunks/install-pkg.LE8oaA1t.js +319 -0
- package/dist/chunks/{integrations-globals.eip0xL77.js → integrations-globals.8mr2ENps.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/config.cjs +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/coverage.d.ts +1 -1
- package/dist/entry-vm.js +2 -2
- package/dist/entry.js +2 -2
- package/dist/environments.d.ts +2 -1
- package/dist/environments.js +1 -1
- package/dist/execute.d.ts +1 -1
- package/dist/execute.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/{reporters-LLiOBu3g.d.ts → reporters-3OMQDZar.d.ts} +1 -1
- package/dist/reporters.d.ts +1 -1
- package/dist/runners.d.ts +1 -1
- package/dist/runners.js +1 -1
- package/dist/{suite-SvxfaIxW.d.ts → suite-yBB1jXl9.d.ts} +1 -1
- package/dist/suite.d.ts +2 -2
- package/dist/vendor/{environments.hTqxBFDN.js → environments.v4R4vGad.js} +10 -5
- package/dist/vendor/{execute.ILey0jnF.js → execute.1R_t2FPL.js} +3 -1
- package/dist/vendor/{index.VL3WbvjT.js → index.uQelX_YY.js} +1 -1
- package/dist/vendor/{loader.w8KTtIkD.js → loader.zIj6SiI8.js} +1 -1
- package/dist/vendor/{node.mLeBfrTn.js → node.hPXN4l9e.js} +15 -10
- package/dist/vendor/{vi.JXuS6emb.js → vi.pk4NToBt.js} +2 -0
- package/dist/vm.js +3 -3
- package/dist/worker.js +3 -3
- package/package.json +9 -9
- package/dist/chunks/install-pkg.ORGzQeqb.js +0 -457
package/LICENSE.md
CHANGED
|
@@ -1085,23 +1085,6 @@ Repository: sindresorhus/p-locate
|
|
|
1085
1085
|
|
|
1086
1086
|
---------------------------------------
|
|
1087
1087
|
|
|
1088
|
-
## path-exists
|
|
1089
|
-
License: MIT
|
|
1090
|
-
By: Sindre Sorhus
|
|
1091
|
-
Repository: sindresorhus/path-exists
|
|
1092
|
-
|
|
1093
|
-
> MIT License
|
|
1094
|
-
>
|
|
1095
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1096
|
-
>
|
|
1097
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1098
|
-
>
|
|
1099
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1100
|
-
>
|
|
1101
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1102
|
-
|
|
1103
|
-
---------------------------------------
|
|
1104
|
-
|
|
1105
1088
|
## picomatch
|
|
1106
1089
|
License: MIT
|
|
1107
1090
|
By: Jon Schlinkert
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { processError, startTests } from '@vitest/runner';
|
|
2
|
-
import { R as ResolvedConfig, b as CoverageOptions, c as CoverageProvider, d as CoverageProviderModule } from './reporters-
|
|
2
|
+
import { R as ResolvedConfig, b as CoverageOptions, c as CoverageProvider, d as CoverageProviderModule } from './reporters-3OMQDZar.js';
|
|
3
3
|
import { VitestExecutor } from './execute.js';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import 'vite-node';
|
package/dist/browser.js
CHANGED
|
@@ -13,7 +13,7 @@ async function setupCommonEnv(config) {
|
|
|
13
13
|
globalSetup = true;
|
|
14
14
|
setSafeTimers();
|
|
15
15
|
if (config.globals)
|
|
16
|
-
(await import('./chunks/integrations-globals.
|
|
16
|
+
(await import('./chunks/integrations-globals.8mr2ENps.js')).registerApiGlobally();
|
|
17
17
|
}
|
|
18
18
|
function setupDefines(defines) {
|
|
19
19
|
for (const key in defines)
|
package/dist/child.js
CHANGED
|
@@ -3,13 +3,13 @@ import v8 from 'node:v8';
|
|
|
3
3
|
import { c as createBirpc } from './vendor/index.cAUulNDf.js';
|
|
4
4
|
import { parseRegexp } from '@vitest/utils';
|
|
5
5
|
import { workerId } from 'tinypool';
|
|
6
|
-
import { l as loadEnvironment } from './vendor/loader.
|
|
7
|
-
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor/execute.
|
|
6
|
+
import { l as loadEnvironment } from './vendor/loader.zIj6SiI8.js';
|
|
7
|
+
import { s as startViteNode, m as moduleCache, a as mockMap } from './vendor/execute.1R_t2FPL.js';
|
|
8
8
|
import { r as rpcDone, c as createSafeRpc } from './vendor/rpc.Bl-ysZIr.js';
|
|
9
9
|
import { s as setupInspect } from './vendor/inspector.lFAeuaAt.js';
|
|
10
10
|
import 'pathe';
|
|
11
11
|
import 'vite-node/client';
|
|
12
|
-
import './vendor/environments.
|
|
12
|
+
import './vendor/environments.v4R4vGad.js';
|
|
13
13
|
import 'node:console';
|
|
14
14
|
import 'local-pkg';
|
|
15
15
|
import 'node:url';
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
import require$$0, { promises } from 'fs';
|
|
2
|
+
import p from 'path';
|
|
3
|
+
import process from 'process';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { execa } from 'execa';
|
|
6
|
+
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __publicField = (obj, key, value) => {
|
|
10
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
13
|
+
var __accessCheck = (obj, member, msg) => {
|
|
14
|
+
if (!member.has(obj))
|
|
15
|
+
throw TypeError("Cannot " + msg);
|
|
16
|
+
};
|
|
17
|
+
var __privateGet = (obj, member, getter) => {
|
|
18
|
+
__accessCheck(obj, member, "read from private field");
|
|
19
|
+
return getter ? getter.call(obj) : member.get(obj);
|
|
20
|
+
};
|
|
21
|
+
var __privateAdd = (obj, member, value) => {
|
|
22
|
+
if (member.has(obj))
|
|
23
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
24
|
+
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
25
|
+
};
|
|
26
|
+
var __privateSet = (obj, member, value, setter) => {
|
|
27
|
+
__accessCheck(obj, member, "write to private field");
|
|
28
|
+
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
29
|
+
return value;
|
|
30
|
+
};
|
|
31
|
+
var __privateWrapper = (obj, member, setter, getter) => ({
|
|
32
|
+
set _(value) {
|
|
33
|
+
__privateSet(obj, member, value, setter);
|
|
34
|
+
},
|
|
35
|
+
get _() {
|
|
36
|
+
return __privateGet(obj, member, getter);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
|
|
41
|
+
var Node = class {
|
|
42
|
+
constructor(value) {
|
|
43
|
+
__publicField(this, "value");
|
|
44
|
+
__publicField(this, "next");
|
|
45
|
+
this.value = value;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var _head, _tail, _size;
|
|
49
|
+
var Queue = class {
|
|
50
|
+
constructor() {
|
|
51
|
+
__privateAdd(this, _head, void 0);
|
|
52
|
+
__privateAdd(this, _tail, void 0);
|
|
53
|
+
__privateAdd(this, _size, void 0);
|
|
54
|
+
this.clear();
|
|
55
|
+
}
|
|
56
|
+
enqueue(value) {
|
|
57
|
+
const node = new Node(value);
|
|
58
|
+
if (__privateGet(this, _head)) {
|
|
59
|
+
__privateGet(this, _tail).next = node;
|
|
60
|
+
__privateSet(this, _tail, node);
|
|
61
|
+
} else {
|
|
62
|
+
__privateSet(this, _head, node);
|
|
63
|
+
__privateSet(this, _tail, node);
|
|
64
|
+
}
|
|
65
|
+
__privateWrapper(this, _size)._++;
|
|
66
|
+
}
|
|
67
|
+
dequeue() {
|
|
68
|
+
const current = __privateGet(this, _head);
|
|
69
|
+
if (!current) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
__privateSet(this, _head, __privateGet(this, _head).next);
|
|
73
|
+
__privateWrapper(this, _size)._--;
|
|
74
|
+
return current.value;
|
|
75
|
+
}
|
|
76
|
+
clear() {
|
|
77
|
+
__privateSet(this, _head, void 0);
|
|
78
|
+
__privateSet(this, _tail, void 0);
|
|
79
|
+
__privateSet(this, _size, 0);
|
|
80
|
+
}
|
|
81
|
+
get size() {
|
|
82
|
+
return __privateGet(this, _size);
|
|
83
|
+
}
|
|
84
|
+
*[Symbol.iterator]() {
|
|
85
|
+
let current = __privateGet(this, _head);
|
|
86
|
+
while (current) {
|
|
87
|
+
yield current.value;
|
|
88
|
+
current = current.next;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
_head = new WeakMap();
|
|
93
|
+
_tail = new WeakMap();
|
|
94
|
+
_size = new WeakMap();
|
|
95
|
+
|
|
96
|
+
// node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
|
|
97
|
+
function pLimit(concurrency) {
|
|
98
|
+
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
|
|
99
|
+
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
|
100
|
+
}
|
|
101
|
+
const queue = new Queue();
|
|
102
|
+
let activeCount = 0;
|
|
103
|
+
const next = () => {
|
|
104
|
+
activeCount--;
|
|
105
|
+
if (queue.size > 0) {
|
|
106
|
+
queue.dequeue()();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
const run = async (fn, resolve, args) => {
|
|
110
|
+
activeCount++;
|
|
111
|
+
const result = (async () => fn(...args))();
|
|
112
|
+
resolve(result);
|
|
113
|
+
try {
|
|
114
|
+
await result;
|
|
115
|
+
} catch {
|
|
116
|
+
}
|
|
117
|
+
next();
|
|
118
|
+
};
|
|
119
|
+
const enqueue = (fn, resolve, args) => {
|
|
120
|
+
queue.enqueue(run.bind(void 0, fn, resolve, args));
|
|
121
|
+
(async () => {
|
|
122
|
+
await Promise.resolve();
|
|
123
|
+
if (activeCount < concurrency && queue.size > 0) {
|
|
124
|
+
queue.dequeue()();
|
|
125
|
+
}
|
|
126
|
+
})();
|
|
127
|
+
};
|
|
128
|
+
const generator = (fn, ...args) => new Promise((resolve) => {
|
|
129
|
+
enqueue(fn, resolve, args);
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperties(generator, {
|
|
132
|
+
activeCount: {
|
|
133
|
+
get: () => activeCount
|
|
134
|
+
},
|
|
135
|
+
pendingCount: {
|
|
136
|
+
get: () => queue.size
|
|
137
|
+
},
|
|
138
|
+
clearQueue: {
|
|
139
|
+
value: () => {
|
|
140
|
+
queue.clear();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
return generator;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js
|
|
148
|
+
var EndError = class extends Error {
|
|
149
|
+
constructor(value) {
|
|
150
|
+
super();
|
|
151
|
+
this.value = value;
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
var testElement = async (element, tester) => tester(await element);
|
|
155
|
+
var finder = async (element) => {
|
|
156
|
+
const values = await Promise.all(element);
|
|
157
|
+
if (values[1] === true) {
|
|
158
|
+
throw new EndError(values[0]);
|
|
159
|
+
}
|
|
160
|
+
return false;
|
|
161
|
+
};
|
|
162
|
+
async function pLocate(iterable, tester, {
|
|
163
|
+
concurrency = Number.POSITIVE_INFINITY,
|
|
164
|
+
preserveOrder = true
|
|
165
|
+
} = {}) {
|
|
166
|
+
const limit = pLimit(concurrency);
|
|
167
|
+
const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
|
|
168
|
+
const checkLimit = pLimit(preserveOrder ? 1 : Number.POSITIVE_INFINITY);
|
|
169
|
+
try {
|
|
170
|
+
await Promise.all(items.map((element) => checkLimit(finder, element)));
|
|
171
|
+
} catch (error) {
|
|
172
|
+
if (error instanceof EndError) {
|
|
173
|
+
return error.value;
|
|
174
|
+
}
|
|
175
|
+
throw error;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
|
|
180
|
+
var typeMappings = {
|
|
181
|
+
directory: "isDirectory",
|
|
182
|
+
file: "isFile"
|
|
183
|
+
};
|
|
184
|
+
function checkType(type) {
|
|
185
|
+
if (Object.hasOwnProperty.call(typeMappings, type)) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
throw new Error(`Invalid type specified: ${type}`);
|
|
189
|
+
}
|
|
190
|
+
var matchType = (type, stat) => stat[typeMappings[type]]();
|
|
191
|
+
var toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
192
|
+
async function locatePath(paths, {
|
|
193
|
+
cwd = process.cwd(),
|
|
194
|
+
type = "file",
|
|
195
|
+
allowSymlinks = true,
|
|
196
|
+
concurrency,
|
|
197
|
+
preserveOrder
|
|
198
|
+
} = {}) {
|
|
199
|
+
checkType(type);
|
|
200
|
+
cwd = toPath(cwd);
|
|
201
|
+
const statFunction = allowSymlinks ? promises.stat : promises.lstat;
|
|
202
|
+
return pLocate(paths, async (path_) => {
|
|
203
|
+
try {
|
|
204
|
+
const stat = await statFunction(p.resolve(cwd, path_));
|
|
205
|
+
return matchType(type, stat);
|
|
206
|
+
} catch {
|
|
207
|
+
return false;
|
|
208
|
+
}
|
|
209
|
+
}, { concurrency, preserveOrder });
|
|
210
|
+
}
|
|
211
|
+
function toPath2(urlOrPath) {
|
|
212
|
+
return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// node_modules/.pnpm/find-up@7.0.0/node_modules/find-up/index.js
|
|
216
|
+
var findUpStop = Symbol("findUpStop");
|
|
217
|
+
async function findUpMultiple(name, options = {}) {
|
|
218
|
+
let directory = p.resolve(toPath2(options.cwd) ?? "");
|
|
219
|
+
const { root } = p.parse(directory);
|
|
220
|
+
const stopAt = p.resolve(directory, toPath2(options.stopAt ?? root));
|
|
221
|
+
const limit = options.limit ?? Number.POSITIVE_INFINITY;
|
|
222
|
+
const paths = [name].flat();
|
|
223
|
+
const runMatcher = async (locateOptions) => {
|
|
224
|
+
if (typeof name !== "function") {
|
|
225
|
+
return locatePath(paths, locateOptions);
|
|
226
|
+
}
|
|
227
|
+
const foundPath = await name(locateOptions.cwd);
|
|
228
|
+
if (typeof foundPath === "string") {
|
|
229
|
+
return locatePath([foundPath], locateOptions);
|
|
230
|
+
}
|
|
231
|
+
return foundPath;
|
|
232
|
+
};
|
|
233
|
+
const matches = [];
|
|
234
|
+
while (true) {
|
|
235
|
+
const foundPath = await runMatcher({ ...options, cwd: directory });
|
|
236
|
+
if (foundPath === findUpStop) {
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
if (foundPath) {
|
|
240
|
+
matches.push(p.resolve(directory, foundPath));
|
|
241
|
+
}
|
|
242
|
+
if (directory === stopAt || matches.length >= limit) {
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
directory = p.dirname(directory);
|
|
246
|
+
}
|
|
247
|
+
return matches;
|
|
248
|
+
}
|
|
249
|
+
async function findUp(name, options = {}) {
|
|
250
|
+
const matches = await findUpMultiple(name, { ...options, limit: 1 });
|
|
251
|
+
return matches[0];
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// src/detect.ts
|
|
255
|
+
var AGENTS = ["pnpm", "yarn", "npm", "pnpm@6", "yarn@berry", "bun"];
|
|
256
|
+
var LOCKS = {
|
|
257
|
+
"bun.lockb": "bun",
|
|
258
|
+
"pnpm-lock.yaml": "pnpm",
|
|
259
|
+
"yarn.lock": "yarn",
|
|
260
|
+
"package-lock.json": "npm",
|
|
261
|
+
"npm-shrinkwrap.json": "npm"
|
|
262
|
+
};
|
|
263
|
+
async function detectPackageManager(cwd = process.cwd()) {
|
|
264
|
+
let agent = null;
|
|
265
|
+
const lockPath = await findUp(Object.keys(LOCKS), { cwd });
|
|
266
|
+
let packageJsonPath;
|
|
267
|
+
if (lockPath)
|
|
268
|
+
packageJsonPath = p.resolve(lockPath, "../package.json");
|
|
269
|
+
else
|
|
270
|
+
packageJsonPath = await findUp("package.json", { cwd });
|
|
271
|
+
if (packageJsonPath && require$$0.existsSync(packageJsonPath)) {
|
|
272
|
+
try {
|
|
273
|
+
const pkg = JSON.parse(require$$0.readFileSync(packageJsonPath, "utf8"));
|
|
274
|
+
if (typeof pkg.packageManager === "string") {
|
|
275
|
+
const [name, version] = pkg.packageManager.split("@");
|
|
276
|
+
if (name === "yarn" && Number.parseInt(version) > 1)
|
|
277
|
+
agent = "yarn@berry";
|
|
278
|
+
else if (name === "pnpm" && Number.parseInt(version) < 7)
|
|
279
|
+
agent = "pnpm@6";
|
|
280
|
+
else if (AGENTS.includes(name))
|
|
281
|
+
agent = name;
|
|
282
|
+
else
|
|
283
|
+
console.warn("[ni] Unknown packageManager:", pkg.packageManager);
|
|
284
|
+
}
|
|
285
|
+
} catch {
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
if (!agent && lockPath)
|
|
289
|
+
agent = LOCKS[p.basename(lockPath)];
|
|
290
|
+
return agent;
|
|
291
|
+
}
|
|
292
|
+
async function installPackage(names, options = {}) {
|
|
293
|
+
const detectedAgent = options.packageManager || await detectPackageManager(options.cwd) || "npm";
|
|
294
|
+
const [agent] = detectedAgent.split("@");
|
|
295
|
+
if (!Array.isArray(names))
|
|
296
|
+
names = [names];
|
|
297
|
+
const args = options.additionalArgs || [];
|
|
298
|
+
if (options.preferOffline) {
|
|
299
|
+
if (detectedAgent === "yarn@berry")
|
|
300
|
+
args.unshift("--cached");
|
|
301
|
+
else
|
|
302
|
+
args.unshift("--prefer-offline");
|
|
303
|
+
}
|
|
304
|
+
return execa(
|
|
305
|
+
agent,
|
|
306
|
+
[
|
|
307
|
+
agent === "yarn" ? "add" : "install",
|
|
308
|
+
options.dev ? "-D" : "",
|
|
309
|
+
...args,
|
|
310
|
+
...names
|
|
311
|
+
].filter(Boolean),
|
|
312
|
+
{
|
|
313
|
+
stdio: options.silent ? "ignore" : "inherit",
|
|
314
|
+
cwd: options.cwd
|
|
315
|
+
}
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export { detectPackageManager, installPackage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as globalApis } from '../vendor/constants.WSvnD_fn.js';
|
|
2
|
-
import { i as index } from '../vendor/index.
|
|
2
|
+
import { i as index } from '../vendor/index.uQelX_YY.js';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import '../vendor/benchmark.WVm6DARl.js';
|
|
5
5
|
import '@vitest/runner/utils';
|
|
@@ -9,7 +9,7 @@ import 'pathe';
|
|
|
9
9
|
import 'std-env';
|
|
10
10
|
import '../vendor/global.L7JRz1qU.js';
|
|
11
11
|
import '../vendor/run-once.X3E7xx3F.js';
|
|
12
|
-
import '../vendor/vi.
|
|
12
|
+
import '../vendor/vi.pk4NToBt.js';
|
|
13
13
|
import 'chai';
|
|
14
14
|
import '../vendor/_commonjsHelpers.jjO7Zipk.js';
|
|
15
15
|
import '@vitest/expect';
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { normalize } from 'pathe';
|
|
2
2
|
import cac from 'cac';
|
|
3
3
|
import c from 'picocolors';
|
|
4
|
-
import { v as version, s as startVitest } from './vendor/node.
|
|
4
|
+
import { v as version, s as startVitest } from './vendor/node.hPXN4l9e.js';
|
|
5
5
|
import './vendor/index.XU72Rmy8.js';
|
|
6
6
|
import { d as divider } from './vendor/reporters.pr8MinP9.js';
|
|
7
7
|
import { t as toArray } from './vendor/base._79unx2z.js';
|
|
@@ -36,6 +36,7 @@ import 'node:fs/promises';
|
|
|
36
36
|
import 'node:perf_hooks';
|
|
37
37
|
import 'execa';
|
|
38
38
|
import '@vitest/utils/source-map';
|
|
39
|
+
import 'node:module';
|
|
39
40
|
import 'local-pkg';
|
|
40
41
|
import 'std-env';
|
|
41
42
|
import 'module';
|
|
@@ -45,7 +46,7 @@ import 'node:crypto';
|
|
|
45
46
|
import 'assert';
|
|
46
47
|
import 'magic-string';
|
|
47
48
|
import 'strip-literal';
|
|
48
|
-
import './vendor/environments.
|
|
49
|
+
import './vendor/environments.v4R4vGad.js';
|
|
49
50
|
import 'node:console';
|
|
50
51
|
import 'node:readline';
|
|
51
52
|
import 'readline';
|
|
@@ -54,7 +55,6 @@ import './chunks/runtime-console.hf2msWA9.js';
|
|
|
54
55
|
import 'node:stream';
|
|
55
56
|
import './vendor/date.Ns1pGd_X.js';
|
|
56
57
|
import './vendor/tasks.IknbGB2n.js';
|
|
57
|
-
import 'node:module';
|
|
58
58
|
|
|
59
59
|
const cli = cac("vitest");
|
|
60
60
|
cli.version(version).option("-r, --root <path>", "Root path").option("-c, --config <path>", "Path to config file").option("-u, --update", "Update snapshot").option("-w, --watch", "Enable watch mode").option("-t, --testNamePattern <pattern>", "Run tests with full names matching the specified regexp pattern").option("--dir <path>", "Base directory to scan for the test files").option("--ui", "Enable UI").option("--open", "Open UI automatically (default: !process.env.CI))").option("--api [api]", "Serve API, available options: --api.port <port>, --api.host [host] and --api.strictPort").option("--silent", "Silent console output from tests").option("--hideSkippedTests", "Hide logs for skipped tests").option("--reporter <name>", "Specify reporters").option("--outputFile <filename/-s>", "Write test results to a file when supporter reporter is also specified, use cac's dot notation for individual outputs of multiple reporters").option("--coverage", "Enable coverage report").option("--run", "Disable watch mode").option("--mode <name>", "Override Vite mode (default: test)").option("--globals", "Inject apis globally").option("--dom", "Mock browser API with happy-dom").option("--browser [options]", "Run tests in the browser (default: false)").option("--pool <pool>", "Specify pool, if not running in the browser (default: threads)").option("--poolOptions <options>", "Specify pool options").option("--poolOptions.threads.isolate", "Isolate tests in threads pool (default: true)").option("--poolOptions.forks.isolate", "Isolate tests in forks pool (default: true)").option("--environment <env>", "Specify runner environment, if not running in the browser (default: node)").option("--passWithNoTests", "Pass when no tests found").option("--logHeapUsage", "Show the size of heap for each test").option("--allowOnly", "Allow tests and suites that are marked as only (default: !process.env.CI)").option("--dangerouslyIgnoreUnhandledErrors", "Ignore any unhandled errors that occur").option("--shard <shard>", "Test suite shard to execute in a format of <index>/<count>").option("--changed [since]", "Run tests that are affected by the changed files (default: false)").option("--sequence <options>", "Define in what order to run tests (use --sequence.shuffle to run tests in random order, use --sequence.concurrent to run tests in parallel)").option("--segfaultRetry <times>", "Return tests on segment fault (default: 0)", { default: 0 }).option("--no-color", "Removes colors from the console output").option("--inspect", "Enable Node.js inspector").option("--inspect-brk", "Enable Node.js inspector with break").option("--test-timeout <time>", "Default timeout of a test in milliseconds (default: 5000)").option("--bail <number>", "Stop test execution when given number of tests have failed (default: 0)").option("--retry <times>", "Retry the test specific number of times if it fails (default: 0)").option("--diff <path>", "Path to a diff config that will be used to generate diff interface").option("--expand-snapshot-diff", "Show full diff when snapshot fails").option("--typecheck [options]", "Custom options for typecheck pool").option("--typecheck.enabled", "Enable typechecking alongside tests (default: false)").option("--typecheck.only", "Run only typecheck tests. This automatically enables typecheck (default: false)").option("--project <name>", "The name of the project to run if you are using Vitest workspace feature. This can be repeated for multiple projects: --project=1 --project=2").help();
|
package/dist/config.cjs
CHANGED
|
@@ -9,7 +9,7 @@ typeof process < "u" && typeof process.stdout < "u" && !((_a$1 = process.version
|
|
|
9
9
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const defaultInclude = ["**/*.{test,spec}.?(c|m)[jt]s?(x)"];
|
|
12
|
-
const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*"];
|
|
12
|
+
const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*"];
|
|
13
13
|
const defaultCoverageExcludes = [
|
|
14
14
|
"coverage/**",
|
|
15
15
|
"dist/**",
|
package/dist/config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UserConfig as UserConfig$1, ConfigEnv } from 'vite';
|
|
2
2
|
export { ConfigEnv, UserConfig, mergeConfig } from 'vite';
|
|
3
|
-
import { a as ResolvedCoverageOptions, U as UserConfig, C as CoverageV8Options, P as ProjectConfig } from './reporters-
|
|
3
|
+
import { a as ResolvedCoverageOptions, U as UserConfig, C as CoverageV8Options, P as ProjectConfig } from './reporters-3OMQDZar.js';
|
|
4
4
|
import '@vitest/runner';
|
|
5
5
|
import 'vite-node';
|
|
6
6
|
import '@vitest/snapshot';
|
package/dist/config.js
CHANGED
|
@@ -7,7 +7,7 @@ typeof process < "u" && typeof process.stdout < "u" && !((_a$1 = process.version
|
|
|
7
7
|
|
|
8
8
|
var _a, _b;
|
|
9
9
|
const defaultInclude = ["**/*.{test,spec}.?(c|m)[jt]s?(x)"];
|
|
10
|
-
const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*"];
|
|
10
|
+
const defaultExclude = ["**/node_modules/**", "**/dist/**", "**/cypress/**", "**/.{idea,git,cache,output,temp}/**", "**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*"];
|
|
11
11
|
const defaultCoverageExcludes = [
|
|
12
12
|
"coverage/**",
|
|
13
13
|
"dist/**",
|
package/dist/coverage.d.ts
CHANGED
package/dist/entry-vm.js
CHANGED
|
@@ -8,7 +8,7 @@ import { setupColors, createColors } from '@vitest/utils';
|
|
|
8
8
|
import { V as VitestSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from './vendor/index.h0j9y5vy.js';
|
|
9
9
|
import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from './vendor/coverage.v6aD8iAh.js';
|
|
10
10
|
import { g as getWorkerState } from './vendor/global.L7JRz1qU.js';
|
|
11
|
-
import { i as index } from './vendor/index.
|
|
11
|
+
import { i as index } from './vendor/index.uQelX_YY.js';
|
|
12
12
|
import { setupCommonEnv } from './browser.js';
|
|
13
13
|
import 'chai';
|
|
14
14
|
import '@vitest/snapshot/environment';
|
|
@@ -21,7 +21,7 @@ import '@vitest/runner/utils';
|
|
|
21
21
|
import './vendor/index.XU72Rmy8.js';
|
|
22
22
|
import 'std-env';
|
|
23
23
|
import './vendor/run-once.X3E7xx3F.js';
|
|
24
|
-
import './vendor/vi.
|
|
24
|
+
import './vendor/vi.pk4NToBt.js';
|
|
25
25
|
import './vendor/_commonjsHelpers.jjO7Zipk.js';
|
|
26
26
|
import '@vitest/expect';
|
|
27
27
|
import '@vitest/snapshot';
|
package/dist/entry.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { performance } from 'node:perf_hooks';
|
|
2
2
|
import { startTests } from '@vitest/runner';
|
|
3
3
|
import './vendor/index.XU72Rmy8.js';
|
|
4
|
-
import { a as globalExpect, r as resetModules, v as vi } from './vendor/vi.
|
|
4
|
+
import { a as globalExpect, r as resetModules, v as vi } from './vendor/vi.pk4NToBt.js';
|
|
5
5
|
import { s as startCoverageInsideWorker, a as stopCoverageInsideWorker } from './vendor/coverage.v6aD8iAh.js';
|
|
6
6
|
import { V as VitestSnapshotEnvironment, s as setupChaiConfig, r as resolveTestRunner } from './vendor/index.h0j9y5vy.js';
|
|
7
7
|
import { createRequire } from 'node:module';
|
|
@@ -10,7 +10,7 @@ import timers from 'node:timers';
|
|
|
10
10
|
import { isatty } from 'node:tty';
|
|
11
11
|
import { installSourcemapsSupport } from 'vite-node/source-map';
|
|
12
12
|
import { setupColors, createColors, getSafeTimers } from '@vitest/utils';
|
|
13
|
-
import { i as index } from './vendor/index.
|
|
13
|
+
import { i as index } from './vendor/index.uQelX_YY.js';
|
|
14
14
|
import { setupCommonEnv } from './browser.js';
|
|
15
15
|
import { g as getWorkerState } from './vendor/global.L7JRz1qU.js';
|
|
16
16
|
import 'pathe';
|
package/dist/environments.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Environment } from './reporters-
|
|
1
|
+
import { E as Environment } from './reporters-3OMQDZar.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import 'vite-node';
|
|
@@ -23,6 +23,7 @@ declare const environments: {
|
|
|
23
23
|
|
|
24
24
|
interface PopulateOptions {
|
|
25
25
|
bindFunctions?: boolean;
|
|
26
|
+
additionalKeys?: string[];
|
|
26
27
|
}
|
|
27
28
|
declare function populateGlobal(global: any, win: any, options?: PopulateOptions): {
|
|
28
29
|
keys: Set<string>;
|
package/dist/environments.js
CHANGED
package/dist/execute.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import vm from 'node:vm';
|
|
2
2
|
import { ViteNodeRunner } from 'vite-node/client';
|
|
3
3
|
import { ViteNodeRunnerOptions } from 'vite-node';
|
|
4
|
-
import { am as PendingSuiteMock, an as MockFactory, ao as MockMap, a2 as WorkerGlobalState, g as RuntimeRPC } from './reporters-
|
|
4
|
+
import { am as PendingSuiteMock, an as MockFactory, ao as MockMap, a2 as WorkerGlobalState, g as RuntimeRPC } from './reporters-3OMQDZar.js';
|
|
5
5
|
import 'vite';
|
|
6
6
|
import '@vitest/runner';
|
|
7
7
|
import '@vitest/snapshot';
|
package/dist/execute.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TaskPopulated, File, TaskResultPack, CancelReason } from '@vitest/runner';
|
|
2
2
|
export { Custom, DoneCallback, ExtendedContext, File, HookCleanupCallback, HookListener, OnTestFailedHandler, RunMode, RuntimeContext, SequenceHooks, SequenceSetupFiles, Suite, SuiteAPI, SuiteCollector, SuiteFactory, SuiteHooks, Task, TaskBase, TaskContext, TaskCustomOptions, TaskMeta, TaskResult, TaskResultPack, TaskState, Test, TestAPI, TestContext, TestFunction, TestOptions, afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner';
|
|
3
|
-
export { b as bench } from './suite-
|
|
3
|
+
export { b as bench } from './suite-yBB1jXl9.js';
|
|
4
4
|
import { ExpectStatic } from '@vitest/expect';
|
|
5
5
|
export { Assertion, AsymmetricMatchersContaining, ExpectStatic, JestAssertion } from '@vitest/expect';
|
|
6
|
-
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, n as RuntimeConfig, f as ProvidedContext, A as AfterSuiteRunMeta, o as UserConsoleLog, R as ResolvedConfig, p as ModuleGraphData, q as Reporter } from './reporters-
|
|
7
|
-
export { K as ApiConfig, a6 as ArgumentsType, a5 as Arrayable, a3 as Awaitable, B as BaseCoverageOptions, ak as BenchFunction, ai as Benchmark, al as BenchmarkAPI, aj as BenchmarkResult, ah as BenchmarkUserOptions, D as BuiltinEnvironment, I as CSSModuleScopeStrategy, u as CollectLineNumbers, v as CollectLines, a8 as Constructable, x as Context, _ as ContextRPC, Y as ContextTestEnvironment, af as CoverageIstanbulOptions, b as CoverageOptions, c as CoverageProvider, d as CoverageProviderModule, ae as CoverageReporter, C as CoverageV8Options, ag as CustomProviderOptions, N as DepsOptimizationOptions, E as Environment, L as EnvironmentOptions, aa as EnvironmentReturn, H as HappyDOMOptions, Q as InlineConfig, J as JSDOMOptions, a9 as ModuleCache, a7 as MutableArray, a4 as Nullable, ac as OnServerRestartHandler, y as Pool, z as PoolOptions, P as ProjectConfig, r as RawErrsMap, ad as ReportContext, a0 as ResolveIdFunction, a as ResolvedCoverageOptions, Z as ResolvedTestEnvironment, w as RootAndTarget, X as RunnerRPC, g as RuntimeRPC, O as TransformModePatterns, t as TscErrorInfo, S as TypecheckConfig, U as UserConfig, e as Vitest, G as VitestEnvironment, V as VitestRunMode, ab as VmEnvironmentReturn, $ as WorkerContext, a2 as WorkerGlobalState, a1 as WorkerRPC } from './reporters-
|
|
6
|
+
import { F as FakeTimerInstallOpts, M as MockFactoryWithHelper, n as RuntimeConfig, f as ProvidedContext, A as AfterSuiteRunMeta, o as UserConsoleLog, R as ResolvedConfig, p as ModuleGraphData, q as Reporter } from './reporters-3OMQDZar.js';
|
|
7
|
+
export { K as ApiConfig, a6 as ArgumentsType, a5 as Arrayable, a3 as Awaitable, B as BaseCoverageOptions, ak as BenchFunction, ai as Benchmark, al as BenchmarkAPI, aj as BenchmarkResult, ah as BenchmarkUserOptions, D as BuiltinEnvironment, I as CSSModuleScopeStrategy, u as CollectLineNumbers, v as CollectLines, a8 as Constructable, x as Context, _ as ContextRPC, Y as ContextTestEnvironment, af as CoverageIstanbulOptions, b as CoverageOptions, c as CoverageProvider, d as CoverageProviderModule, ae as CoverageReporter, C as CoverageV8Options, ag as CustomProviderOptions, N as DepsOptimizationOptions, E as Environment, L as EnvironmentOptions, aa as EnvironmentReturn, H as HappyDOMOptions, Q as InlineConfig, J as JSDOMOptions, a9 as ModuleCache, a7 as MutableArray, a4 as Nullable, ac as OnServerRestartHandler, y as Pool, z as PoolOptions, P as ProjectConfig, r as RawErrsMap, ad as ReportContext, a0 as ResolveIdFunction, a as ResolvedCoverageOptions, Z as ResolvedTestEnvironment, w as RootAndTarget, X as RunnerRPC, g as RuntimeRPC, O as TransformModePatterns, t as TscErrorInfo, S as TypecheckConfig, U as UserConfig, e as Vitest, G as VitestEnvironment, V as VitestRunMode, ab as VmEnvironmentReturn, $ as WorkerContext, a2 as WorkerGlobalState, a1 as WorkerRPC } from './reporters-3OMQDZar.js';
|
|
8
8
|
import { spyOn, fn, MaybeMockedDeep, MaybeMocked, MaybePartiallyMocked, MaybePartiallyMockedDeep, MockInstance } from '@vitest/spy';
|
|
9
9
|
export { Mock, MockContext, MockInstance, Mocked, MockedClass, MockedFunction, MockedObject, SpyInstance } from '@vitest/spy';
|
|
10
10
|
export { SnapshotEnvironment } from '@vitest/snapshot/environment';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, suite, test } from '@vitest/runner';
|
|
2
2
|
export { b as bench } from './vendor/benchmark.WVm6DARl.js';
|
|
3
3
|
export { i as isFirstRun, r as runOnce } from './vendor/run-once.X3E7xx3F.js';
|
|
4
|
-
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.
|
|
5
|
-
import { d as dist } from './vendor/index.
|
|
6
|
-
export { c as assertType, g as getRunningMode, a as inject, b as isWatchMode } from './vendor/index.
|
|
4
|
+
export { c as createExpect, a as expect, v as vi, b as vitest } from './vendor/vi.pk4NToBt.js';
|
|
5
|
+
import { d as dist } from './vendor/index.uQelX_YY.js';
|
|
6
|
+
export { c as assertType, g as getRunningMode, a as inject, b as isWatchMode } from './vendor/index.uQelX_YY.js';
|
|
7
7
|
import * as chai from 'chai';
|
|
8
8
|
export { chai };
|
|
9
9
|
export { assert, should } from 'chai';
|
package/dist/node.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VitestRunMode, U as UserConfig, e as Vitest, R as ResolvedConfig, f as ProvidedContext, W as WorkspaceProject, g as RuntimeRPC, T as TestSequencer, h as WorkspaceSpec } from './reporters-
|
|
2
|
-
export { l as BrowserProvider, k as BrowserProviderInitializationOptions, m as BrowserProviderOptions, i as ProcessPool, j as TestSequencerConstructor, s as startVitest } from './reporters-
|
|
1
|
+
import { V as VitestRunMode, U as UserConfig, e as Vitest, R as ResolvedConfig, f as ProvidedContext, W as WorkspaceProject, g as RuntimeRPC, T as TestSequencer, h as WorkspaceSpec } from './reporters-3OMQDZar.js';
|
|
2
|
+
export { l as BrowserProvider, k as BrowserProviderInitializationOptions, m as BrowserProviderOptions, i as ProcessPool, j as TestSequencerConstructor, s as startVitest } from './reporters-3OMQDZar.js';
|
|
3
3
|
import { UserConfig as UserConfig$1, Plugin } from 'vite';
|
|
4
4
|
import '@vitest/runner';
|
|
5
5
|
import 'vite-node';
|
package/dist/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BaseSequencer, V as VitestPlugin, a as createMethodsRPC, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor/node.
|
|
1
|
+
export { B as BaseSequencer, V as VitestPlugin, a as createMethodsRPC, c as createVitest, r as registerConsoleShortcuts, s as startVitest } from './vendor/node.hPXN4l9e.js';
|
|
2
2
|
import 'pathe';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import 'node:path';
|
|
@@ -37,6 +37,7 @@ import 'node:fs/promises';
|
|
|
37
37
|
import 'node:perf_hooks';
|
|
38
38
|
import 'execa';
|
|
39
39
|
import '@vitest/utils/source-map';
|
|
40
|
+
import 'node:module';
|
|
40
41
|
import 'local-pkg';
|
|
41
42
|
import 'module';
|
|
42
43
|
import 'acorn-walk';
|
|
@@ -46,11 +47,10 @@ import 'node:stream';
|
|
|
46
47
|
import 'node:console';
|
|
47
48
|
import './vendor/date.Ns1pGd_X.js';
|
|
48
49
|
import './vendor/tasks.IknbGB2n.js';
|
|
49
|
-
import 'node:module';
|
|
50
50
|
import 'node:crypto';
|
|
51
51
|
import 'assert';
|
|
52
52
|
import 'magic-string';
|
|
53
53
|
import 'strip-literal';
|
|
54
|
-
import './vendor/environments.
|
|
54
|
+
import './vendor/environments.v4R4vGad.js';
|
|
55
55
|
import 'node:readline';
|
|
56
56
|
import 'readline';
|
|
@@ -564,7 +564,7 @@ interface BrowserConfigOptions {
|
|
|
564
564
|
* Update ESM imports so they can be spied/stubbed with vi.spyOn.
|
|
565
565
|
* Enabled by default when running in browser.
|
|
566
566
|
*
|
|
567
|
-
* @default
|
|
567
|
+
* @default false
|
|
568
568
|
* @experimental
|
|
569
569
|
*/
|
|
570
570
|
slowHijackESM?: boolean;
|
package/dist/reporters.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ay as BaseReporter, aq as BasicReporter, aC as BenchmarkBuiltinReporters, aB as BenchmarkReportsMap, aA as BuiltinReporters, ap as DefaultReporter, ar as DotReporter, ax as HangingProcessReporter, av as JUnitReporter, as as JsonReporter, q as Reporter, az as ReportersMap, aw as TapFlatReporter, au as TapReporter, at as VerboseReporter } from './reporters-
|
|
1
|
+
export { ay as BaseReporter, aq as BasicReporter, aC as BenchmarkBuiltinReporters, aB as BenchmarkReportsMap, aA as BuiltinReporters, ap as DefaultReporter, ar as DotReporter, ax as HangingProcessReporter, av as JUnitReporter, as as JsonReporter, q as Reporter, az as ReportersMap, aw as TapFlatReporter, au as TapReporter, at as VerboseReporter } from './reporters-3OMQDZar.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@vitest/runner';
|
|
4
4
|
import 'vite-node';
|
package/dist/runners.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VitestRunner, VitestRunnerImportSource, Suite, Test, CancelReason, Custom, TaskContext, ExtendedContext } from '@vitest/runner';
|
|
2
|
-
import { R as ResolvedConfig } from './reporters-
|
|
2
|
+
import { R as ResolvedConfig } from './reporters-3OMQDZar.js';
|
|
3
3
|
import * as tinybench from 'tinybench';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import 'vite-node';
|