@vitest/runner 0.28.3 → 0.28.5

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VitestRunner } from './runner-93cc9c0d.js';
2
- export { V as VitestRunner, a as VitestRunnerConfig, c as VitestRunnerConstructor, b as VitestRunnerImportSource } from './runner-93cc9c0d.js';
1
+ import { V as VitestRunner } from './runner-506d92d8.js';
2
+ export { V as VitestRunner, a as VitestRunnerConfig, c as VitestRunnerConstructor, b as VitestRunnerImportSource } from './runner-506d92d8.js';
3
3
  import { T as Task, F as File, S as SuiteAPI, a as TestAPI, b as SuiteCollector, c as SuiteHooks, H as HookListener, d as TestContext, e as Suite, f as HookCleanupCallback, O as OnTestFailedHandler, g as Test } from './tasks-e1fc71d1.js';
4
4
  export { D as DoneCallback, F as File, f as HookCleanupCallback, H as HookListener, O as OnTestFailedHandler, R as RunMode, p as RuntimeContext, q as SequenceHooks, e as Suite, S as SuiteAPI, b as SuiteCollector, o as SuiteFactory, c as SuiteHooks, T as Task, i as TaskBase, j as TaskCustom, k as TaskResult, l as TaskResultPack, h as TaskState, g as Test, a as TestAPI, d as TestContext, m as TestFunction, n as TestOptions } from './tasks-e1fc71d1.js';
5
5
  import { Awaitable } from '@vitest/utils';
package/dist/index.js CHANGED
@@ -533,12 +533,12 @@ async function runSuite(suite, runner) {
533
533
  } catch (e) {
534
534
  failTask(suite.result, e);
535
535
  }
536
- }
537
- try {
538
- await callSuiteHook(suite, suite, "afterAll", runner, [suite]);
539
- await callCleanupHooks(beforeAllCleanups);
540
- } catch (e) {
541
- failTask(suite.result, e);
536
+ try {
537
+ await callSuiteHook(suite, suite, "afterAll", runner, [suite]);
538
+ await callCleanupHooks(beforeAllCleanups);
539
+ } catch (e) {
540
+ failTask(suite.result, e);
541
+ }
542
542
  }
543
543
  suite.result.duration = now() - start;
544
544
  if (suite.mode === "run") {
@@ -85,7 +85,7 @@ interface VitestRunner {
85
85
  */
86
86
  importFile(filepath: string, source: VitestRunnerImportSource): unknown;
87
87
  /**
88
- * Publically available configuration.
88
+ * Publicly available configuration.
89
89
  */
90
90
  config: VitestRunnerConfig;
91
91
  }
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { D as DoneCallback, F as File, f as HookCleanupCallback, H as HookListener, O as OnTestFailedHandler, R as RunMode, p as RuntimeContext, q as SequenceHooks, e as Suite, S as SuiteAPI, b as SuiteCollector, o as SuiteFactory, c as SuiteHooks, T as Task, i as TaskBase, j as TaskCustom, k as TaskResult, l as TaskResultPack, h as TaskState, g as Test, a as TestAPI, d as TestContext, m as TestFunction, n as TestOptions } from './tasks-e1fc71d1.js';
2
- export { V as VitestRunner, a as VitestRunnerConfig, c as VitestRunnerConstructor, b as VitestRunnerImportSource } from './runner-93cc9c0d.js';
2
+ export { V as VitestRunner, a as VitestRunnerConfig, c as VitestRunnerConstructor, b as VitestRunnerImportSource } from './runner-506d92d8.js';
3
3
  import '@vitest/utils';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/runner",
3
3
  "type": "module",
4
- "version": "0.28.3",
4
+ "version": "0.28.5",
5
5
  "description": "Vitest test runner",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "p-limit": "^4.0.0",
37
37
  "pathe": "^1.1.0",
38
- "@vitest/utils": "0.28.3"
38
+ "@vitest/utils": "0.28.5"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rimraf dist && rollup -c",