@vitest/runner 4.0.0-beta.14 → 4.0.0-beta.16

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.
@@ -352,7 +352,13 @@ interface ExtendedAPI<ExtraContext> {
352
352
  skipIf: (condition: any) => ChainableTestAPI<ExtraContext>;
353
353
  runIf: (condition: any) => ChainableTestAPI<ExtraContext>;
354
354
  }
355
- type TestAPI<ExtraContext = object> = ChainableTestAPI<ExtraContext> & ExtendedAPI<ExtraContext> & {
355
+ interface Hooks<ExtraContext> {
356
+ beforeAll: typeof beforeAll;
357
+ afterAll: typeof afterAll;
358
+ beforeEach: typeof beforeEach<ExtraContext>;
359
+ afterEach: typeof afterEach<ExtraContext>;
360
+ }
361
+ type TestAPI<ExtraContext = object> = ChainableTestAPI<ExtraContext> & ExtendedAPI<ExtraContext> & Hooks<ExtraContext> & {
356
362
  extend: <T extends Record<string, any> = object>(fixtures: Fixtures<T, ExtraContext>) => TestAPI<{ [K in keyof T | keyof ExtraContext] : K extends keyof T ? T[K] : K extends keyof ExtraContext ? ExtraContext[K] : never }>;
357
363
  scoped: (fixtures: Fixtures<Partial<ExtraContext>>) => void;
358
364
  };
@@ -513,5 +519,121 @@ interface TaskHook<HookListener> {
513
519
  type SequenceHooks = "stack" | "list" | "parallel";
514
520
  type SequenceSetupFiles = "list" | "parallel";
515
521
 
516
- export { createChainable as c };
517
- export type { AfterAllListener as A, BeforeAllListener as B, ChainableFunction as C, TaskResultPack as D, TaskState as E, File as F, TestAnnotation as G, TestAnnotationLocation as H, ImportDuration as I, TestAttachment as J, TestContext as K, TestFunction as L, TestOptions as M, OnTestFailedHandler as O, RunMode as R, Suite as S, Task as T, Use as U, Test as a, AfterEachListener as b, BeforeEachListener as d, TaskHook as e, OnTestFinishedHandler as f, SuiteHooks as g, TaskUpdateEvent as h, TestAPI as i, SuiteAPI as j, SuiteCollector as k, Fixture as l, FixtureFn as m, FixtureOptions as n, Fixtures as o, InferFixturesTypes as p, RuntimeContext as q, SequenceHooks as r, SequenceSetupFiles as s, SuiteFactory as t, TaskBase as u, TaskCustomOptions as v, TaskEventPack as w, TaskMeta as x, TaskPopulated as y, TaskResult as z };
522
+ /**
523
+ * Registers a callback function to be executed once before all tests within the current suite.
524
+ * This hook is useful for scenarios where you need to perform setup operations that are common to all tests in a suite, such as initializing a database connection or setting up a test environment.
525
+ *
526
+ * **Note:** The `beforeAll` hooks are executed in the order they are defined one after another. You can configure this by changing the `sequence.hooks` option in the config file.
527
+ *
528
+ * @param {Function} fn - The callback function to be executed before all tests.
529
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
530
+ * @returns {void}
531
+ * @example
532
+ * ```ts
533
+ * // Example of using beforeAll to set up a database connection
534
+ * beforeAll(async () => {
535
+ * await database.connect();
536
+ * });
537
+ * ```
538
+ */
539
+ declare function beforeAll(fn: BeforeAllListener, timeout?: number): void;
540
+ /**
541
+ * Registers a callback function to be executed once after all tests within the current suite have completed.
542
+ * This hook is useful for scenarios where you need to perform cleanup operations after all tests in a suite have run, such as closing database connections or cleaning up temporary files.
543
+ *
544
+ * **Note:** The `afterAll` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
545
+ *
546
+ * @param {Function} fn - The callback function to be executed after all tests.
547
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
548
+ * @returns {void}
549
+ * @example
550
+ * ```ts
551
+ * // Example of using afterAll to close a database connection
552
+ * afterAll(async () => {
553
+ * await database.disconnect();
554
+ * });
555
+ * ```
556
+ */
557
+ declare function afterAll(fn: AfterAllListener, timeout?: number): void;
558
+ /**
559
+ * Registers a callback function to be executed before each test within the current suite.
560
+ * This hook is useful for scenarios where you need to reset or reinitialize the test environment before each test runs, such as resetting database states, clearing caches, or reinitializing variables.
561
+ *
562
+ * **Note:** The `beforeEach` hooks are executed in the order they are defined one after another. You can configure this by changing the `sequence.hooks` option in the config file.
563
+ *
564
+ * @param {Function} fn - The callback function to be executed before each test. This function receives an `TestContext` parameter if additional test context is needed.
565
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
566
+ * @returns {void}
567
+ * @example
568
+ * ```ts
569
+ * // Example of using beforeEach to reset a database state
570
+ * beforeEach(async () => {
571
+ * await database.reset();
572
+ * });
573
+ * ```
574
+ */
575
+ declare function beforeEach<ExtraContext = object>(fn: BeforeEachListener<ExtraContext>, timeout?: number): void;
576
+ /**
577
+ * Registers a callback function to be executed after each test within the current suite has completed.
578
+ * This hook is useful for scenarios where you need to clean up or reset the test environment after each test runs, such as deleting temporary files, clearing test-specific database entries, or resetting mocked functions.
579
+ *
580
+ * **Note:** The `afterEach` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
581
+ *
582
+ * @param {Function} fn - The callback function to be executed after each test. This function receives an `TestContext` parameter if additional test context is needed.
583
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
584
+ * @returns {void}
585
+ * @example
586
+ * ```ts
587
+ * // Example of using afterEach to delete temporary files created during a test
588
+ * afterEach(async () => {
589
+ * await fileSystem.deleteTempFiles();
590
+ * });
591
+ * ```
592
+ */
593
+ declare function afterEach<ExtraContext = object>(fn: AfterEachListener<ExtraContext>, timeout?: number): void;
594
+ /**
595
+ * Registers a callback function to be executed when a test fails within the current suite.
596
+ * This function allows for custom actions to be performed in response to test failures, such as logging, cleanup, or additional diagnostics.
597
+ *
598
+ * **Note:** The `onTestFailed` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
599
+ *
600
+ * @param {Function} fn - The callback function to be executed upon a test failure. The function receives the test result (including errors).
601
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
602
+ * @throws {Error} Throws an error if the function is not called within a test.
603
+ * @returns {void}
604
+ * @example
605
+ * ```ts
606
+ * // Example of using onTestFailed to log failure details
607
+ * onTestFailed(({ errors }) => {
608
+ * console.log(`Test failed: ${test.name}`, errors);
609
+ * });
610
+ * ```
611
+ */
612
+ declare const onTestFailed: TaskHook<OnTestFailedHandler>;
613
+ /**
614
+ * Registers a callback function to be executed when the current test finishes, regardless of the outcome (pass or fail).
615
+ * This function is ideal for performing actions that should occur after every test execution, such as cleanup, logging, or resetting shared resources.
616
+ *
617
+ * This hook is useful if you have access to a resource in the test itself and you want to clean it up after the test finishes. It is a more compact way to clean up resources than using the combination of `beforeEach` and `afterEach`.
618
+ *
619
+ * **Note:** The `onTestFinished` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
620
+ *
621
+ * **Note:** The `onTestFinished` hook is not called if the test is canceled with a dynamic `ctx.skip()` call.
622
+ *
623
+ * @param {Function} fn - The callback function to be executed after a test finishes. The function can receive parameters providing details about the completed test, including its success or failure status.
624
+ * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
625
+ * @throws {Error} Throws an error if the function is not called within a test.
626
+ * @returns {void}
627
+ * @example
628
+ * ```ts
629
+ * // Example of using onTestFinished for cleanup
630
+ * const db = await connectToDatabase();
631
+ * onTestFinished(async () => {
632
+ * await db.disconnect();
633
+ * });
634
+ * ```
635
+ */
636
+ declare const onTestFinished: TaskHook<OnTestFinishedHandler>;
637
+
638
+ export { createChainable as X, afterAll as g, afterEach as h, beforeAll as i, beforeEach as j, onTestFinished as k, onTestFailed as o };
639
+ export type { AfterAllListener as A, BeforeAllListener as B, TaskEventPack as C, TaskHook as D, TaskMeta as E, File as F, TaskPopulated as G, TaskResult as H, ImportDuration as I, TaskResultPack as J, TaskState as K, TestAnnotation as L, TestAnnotationLocation as M, TestAttachment as N, OnTestFailedHandler as O, TestContext as P, TestFunction as Q, RunMode as R, Suite as S, Test as T, TestOptions as U, Use as V, ChainableFunction as W, SuiteHooks as a, TaskUpdateEvent as b, Task as c, TestAPI as d, SuiteAPI as e, SuiteCollector as f, AfterEachListener as l, BeforeEachListener as m, Fixture as n, FixtureFn as p, FixtureOptions as q, Fixtures as r, InferFixturesTypes as s, OnTestFinishedHandler as t, RuntimeContext as u, SequenceHooks as v, SequenceSetupFiles as w, SuiteFactory as x, TaskBase as y, TaskCustomOptions as z };
package/dist/index.d.ts CHANGED
@@ -1,126 +1,10 @@
1
- import { A as AfterAllListener, b as AfterEachListener, B as BeforeAllListener, d as BeforeEachListener, e as TaskHook, O as OnTestFailedHandler, f as OnTestFinishedHandler, a as Test, S as Suite, g as SuiteHooks, F as File, h as TaskUpdateEvent, T as Task, i as TestAPI, j as SuiteAPI, k as SuiteCollector } from './tasks.d-B4TVMiFg.js';
2
- export { l as Fixture, m as FixtureFn, n as FixtureOptions, o as Fixtures, I as ImportDuration, p as InferFixturesTypes, R as RunMode, q as RuntimeContext, r as SequenceHooks, s as SequenceSetupFiles, t as SuiteFactory, u as TaskBase, v as TaskCustomOptions, w as TaskEventPack, x as TaskMeta, y as TaskPopulated, z as TaskResult, D as TaskResultPack, E as TaskState, G as TestAnnotation, H as TestAnnotationLocation, J as TestAttachment, K as TestContext, L as TestFunction, M as TestOptions, U as Use } from './tasks.d-B4TVMiFg.js';
1
+ import { T as Test, S as Suite, a as SuiteHooks, F as File, b as TaskUpdateEvent, c as Task, d as TestAPI, e as SuiteAPI, f as SuiteCollector } from './hooks.d-C0RE9A6t.js';
2
+ export { A as AfterAllListener, l as AfterEachListener, B as BeforeAllListener, m as BeforeEachListener, n as Fixture, p as FixtureFn, q as FixtureOptions, r as Fixtures, I as ImportDuration, s as InferFixturesTypes, O as OnTestFailedHandler, t as OnTestFinishedHandler, R as RunMode, u as RuntimeContext, v as SequenceHooks, w as SequenceSetupFiles, x as SuiteFactory, y as TaskBase, z as TaskCustomOptions, C as TaskEventPack, D as TaskHook, E as TaskMeta, G as TaskPopulated, H as TaskResult, J as TaskResultPack, K as TaskState, L as TestAnnotation, M as TestAnnotationLocation, N as TestAttachment, P as TestContext, Q as TestFunction, U as TestOptions, V as Use, g as afterAll, h as afterEach, i as beforeAll, j as beforeEach, o as onTestFailed, k as onTestFinished } from './hooks.d-C0RE9A6t.js';
3
3
  import { Awaitable } from '@vitest/utils';
4
4
  import { FileSpecification, VitestRunner } from './types.js';
5
5
  export { CancelReason, VitestRunnerConfig, VitestRunnerConstructor, VitestRunnerImportSource } from './types.js';
6
6
  import '@vitest/utils/diff';
7
7
 
8
- /**
9
- * Registers a callback function to be executed once before all tests within the current suite.
10
- * This hook is useful for scenarios where you need to perform setup operations that are common to all tests in a suite, such as initializing a database connection or setting up a test environment.
11
- *
12
- * **Note:** The `beforeAll` hooks are executed in the order they are defined one after another. You can configure this by changing the `sequence.hooks` option in the config file.
13
- *
14
- * @param {Function} fn - The callback function to be executed before all tests.
15
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
16
- * @returns {void}
17
- * @example
18
- * ```ts
19
- * // Example of using beforeAll to set up a database connection
20
- * beforeAll(async () => {
21
- * await database.connect();
22
- * });
23
- * ```
24
- */
25
- declare function beforeAll(fn: BeforeAllListener, timeout?: number): void;
26
- /**
27
- * Registers a callback function to be executed once after all tests within the current suite have completed.
28
- * This hook is useful for scenarios where you need to perform cleanup operations after all tests in a suite have run, such as closing database connections or cleaning up temporary files.
29
- *
30
- * **Note:** The `afterAll` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
31
- *
32
- * @param {Function} fn - The callback function to be executed after all tests.
33
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
34
- * @returns {void}
35
- * @example
36
- * ```ts
37
- * // Example of using afterAll to close a database connection
38
- * afterAll(async () => {
39
- * await database.disconnect();
40
- * });
41
- * ```
42
- */
43
- declare function afterAll(fn: AfterAllListener, timeout?: number): void;
44
- /**
45
- * Registers a callback function to be executed before each test within the current suite.
46
- * This hook is useful for scenarios where you need to reset or reinitialize the test environment before each test runs, such as resetting database states, clearing caches, or reinitializing variables.
47
- *
48
- * **Note:** The `beforeEach` hooks are executed in the order they are defined one after another. You can configure this by changing the `sequence.hooks` option in the config file.
49
- *
50
- * @param {Function} fn - The callback function to be executed before each test. This function receives an `TestContext` parameter if additional test context is needed.
51
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
52
- * @returns {void}
53
- * @example
54
- * ```ts
55
- * // Example of using beforeEach to reset a database state
56
- * beforeEach(async () => {
57
- * await database.reset();
58
- * });
59
- * ```
60
- */
61
- declare function beforeEach<ExtraContext = object>(fn: BeforeEachListener<ExtraContext>, timeout?: number): void;
62
- /**
63
- * Registers a callback function to be executed after each test within the current suite has completed.
64
- * This hook is useful for scenarios where you need to clean up or reset the test environment after each test runs, such as deleting temporary files, clearing test-specific database entries, or resetting mocked functions.
65
- *
66
- * **Note:** The `afterEach` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
67
- *
68
- * @param {Function} fn - The callback function to be executed after each test. This function receives an `TestContext` parameter if additional test context is needed.
69
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
70
- * @returns {void}
71
- * @example
72
- * ```ts
73
- * // Example of using afterEach to delete temporary files created during a test
74
- * afterEach(async () => {
75
- * await fileSystem.deleteTempFiles();
76
- * });
77
- * ```
78
- */
79
- declare function afterEach<ExtraContext = object>(fn: AfterEachListener<ExtraContext>, timeout?: number): void;
80
- /**
81
- * Registers a callback function to be executed when a test fails within the current suite.
82
- * This function allows for custom actions to be performed in response to test failures, such as logging, cleanup, or additional diagnostics.
83
- *
84
- * **Note:** The `onTestFailed` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
85
- *
86
- * @param {Function} fn - The callback function to be executed upon a test failure. The function receives the test result (including errors).
87
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
88
- * @throws {Error} Throws an error if the function is not called within a test.
89
- * @returns {void}
90
- * @example
91
- * ```ts
92
- * // Example of using onTestFailed to log failure details
93
- * onTestFailed(({ errors }) => {
94
- * console.log(`Test failed: ${test.name}`, errors);
95
- * });
96
- * ```
97
- */
98
- declare const onTestFailed: TaskHook<OnTestFailedHandler>;
99
- /**
100
- * Registers a callback function to be executed when the current test finishes, regardless of the outcome (pass or fail).
101
- * This function is ideal for performing actions that should occur after every test execution, such as cleanup, logging, or resetting shared resources.
102
- *
103
- * This hook is useful if you have access to a resource in the test itself and you want to clean it up after the test finishes. It is a more compact way to clean up resources than using the combination of `beforeEach` and `afterEach`.
104
- *
105
- * **Note:** The `onTestFinished` hooks are running in reverse order of their registration. You can configure this by changing the `sequence.hooks` option in the config file.
106
- *
107
- * **Note:** The `onTestFinished` hook is not called if the test is canceled with a dynamic `ctx.skip()` call.
108
- *
109
- * @param {Function} fn - The callback function to be executed after a test finishes. The function can receive parameters providing details about the completed test, including its success or failure status.
110
- * @param {number} [timeout] - Optional timeout in milliseconds for the hook. If not provided, the default hook timeout from the runner's configuration is used.
111
- * @throws {Error} Throws an error if the function is not called within a test.
112
- * @returns {void}
113
- * @example
114
- * ```ts
115
- * // Example of using onTestFinished for cleanup
116
- * const db = await connectToDatabase();
117
- * onTestFinished(async () => {
118
- * await db.disconnect();
119
- * });
120
- * ```
121
- */
122
- declare const onTestFinished: TaskHook<OnTestFinishedHandler>;
123
-
124
8
  declare function setFn(key: Test, fn: () => Awaitable<void>): void;
125
9
  declare function getFn<Task = Test>(key: Task): () => Awaitable<void>;
126
10
  declare function setHooks(key: Suite, hooks: SuiteHooks): void;
@@ -257,4 +141,4 @@ declare function createTaskCollector(fn: (...args: any[]) => any, context?: Reco
257
141
 
258
142
  declare function getCurrentTest<T extends Test | undefined>(): T;
259
143
 
260
- export { AfterAllListener, AfterEachListener, BeforeAllListener, BeforeEachListener, File, FileSpecification, OnTestFailedHandler, OnTestFinishedHandler, Suite, SuiteAPI, SuiteCollector, SuiteHooks, Task, TaskHook, TaskUpdateEvent, Test, TestAPI, VitestRunner, afterAll, afterEach, beforeAll, beforeEach, publicCollect as collectTests, createTaskCollector, describe, getCurrentSuite, getCurrentTest, getFn, getHooks, it, onTestFailed, onTestFinished, setFn, setHooks, startTests, suite, test, updateTask };
144
+ export { File, FileSpecification, Suite, SuiteAPI, SuiteCollector, SuiteHooks, Task, TaskUpdateEvent, Test, TestAPI, VitestRunner, publicCollect as collectTests, createTaskCollector, describe, getCurrentSuite, getCurrentTest, getFn, getHooks, it, setFn, setHooks, startTests, suite, test, updateTask };
package/dist/index.js CHANGED
@@ -913,6 +913,10 @@ function createTaskCollector(fn, context) {
913
913
  originalWrapper.call(context, formatName(name), optionsOrFn, optionsOrTest);
914
914
  }, _context);
915
915
  };
916
+ taskFn.beforeEach = beforeEach;
917
+ taskFn.afterEach = afterEach;
918
+ taskFn.beforeAll = beforeAll;
919
+ taskFn.afterAll = afterAll;
916
920
  const _test = createChainable([
917
921
  "concurrent",
918
922
  "sequential",
@@ -1682,8 +1686,8 @@ function createTestContext(test, runner) {
1682
1686
  type: type || "notice"
1683
1687
  };
1684
1688
  if (attachment) {
1685
- if (!attachment.body && !attachment.path) {
1686
- throw new TypeError(`Test attachment requires body or path to be set. Both are missing.`);
1689
+ if (attachment.body == null && !attachment.path) {
1690
+ throw new TypeError(`Test attachment requires "body" or "path" to be set. Both are missing.`);
1687
1691
  }
1688
1692
  if (attachment.body && attachment.path) {
1689
1693
  throw new TypeError(`Test attachment requires only one of "body" or "path" to be set. Both are specified.`);
package/dist/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DiffOptions } from '@vitest/utils/diff';
2
- import { F as File, a as Test, S as Suite, D as TaskResultPack, w as TaskEventPack, G as TestAnnotation, K as TestContext, I as ImportDuration, r as SequenceHooks, s as SequenceSetupFiles } from './tasks.d-B4TVMiFg.js';
3
- export { A as AfterAllListener, b as AfterEachListener, B as BeforeAllListener, d as BeforeEachListener, l as Fixture, m as FixtureFn, n as FixtureOptions, o as Fixtures, p as InferFixturesTypes, O as OnTestFailedHandler, f as OnTestFinishedHandler, R as RunMode, q as RuntimeContext, j as SuiteAPI, k as SuiteCollector, t as SuiteFactory, g as SuiteHooks, T as Task, u as TaskBase, v as TaskCustomOptions, e as TaskHook, x as TaskMeta, y as TaskPopulated, z as TaskResult, E as TaskState, h as TaskUpdateEvent, i as TestAPI, H as TestAnnotationLocation, J as TestAttachment, L as TestFunction, M as TestOptions, U as Use } from './tasks.d-B4TVMiFg.js';
2
+ import { F as File, T as Test, S as Suite, J as TaskResultPack, C as TaskEventPack, L as TestAnnotation, P as TestContext, I as ImportDuration, v as SequenceHooks, w as SequenceSetupFiles } from './hooks.d-C0RE9A6t.js';
3
+ export { A as AfterAllListener, l as AfterEachListener, B as BeforeAllListener, m as BeforeEachListener, n as Fixture, p as FixtureFn, q as FixtureOptions, r as Fixtures, s as InferFixturesTypes, O as OnTestFailedHandler, t as OnTestFinishedHandler, R as RunMode, u as RuntimeContext, e as SuiteAPI, f as SuiteCollector, x as SuiteFactory, a as SuiteHooks, c as Task, y as TaskBase, z as TaskCustomOptions, D as TaskHook, E as TaskMeta, G as TaskPopulated, H as TaskResult, K as TaskState, b as TaskUpdateEvent, d as TestAPI, M as TestAnnotationLocation, N as TestAttachment, Q as TestFunction, U as TestOptions, V as Use } from './hooks.d-C0RE9A6t.js';
4
4
  import '@vitest/utils';
5
5
 
6
6
  /**
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as Suite, F as File, T as Task, a as Test } from './tasks.d-B4TVMiFg.js';
2
- export { C as ChainableFunction, c as createChainable } from './tasks.d-B4TVMiFg.js';
1
+ import { S as Suite, F as File, c as Task, T as Test } from './hooks.d-C0RE9A6t.js';
2
+ export { W as ChainableFunction, X as createChainable } from './hooks.d-C0RE9A6t.js';
3
3
  import { ParsedStack, Arrayable } from '@vitest/utils';
4
4
 
5
5
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/runner",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.14",
4
+ "version": "4.0.0-beta.16",
5
5
  "description": "Vitest test runner",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "pathe": "^2.0.3",
42
- "@vitest/utils": "4.0.0-beta.14"
42
+ "@vitest/utils": "4.0.0-beta.16"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "premove dist && rollup -c",