From 64c7fd8fbc8690b5c0ef7a0fe8fc22007ccd9ba8 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa <4232207+hi-ogawa@users.noreply.github.com> Date: Fri, 11 Sep 2026 12:12:11 +0900 Subject: [PATCH] docs(runner): stabilize attempt API Co-authored-by: Codex (GPT-6) --- packages/vitest/src/node/reporters/reported-tasks.ts | 3 --- packages/vitest/src/runtime/runner/types.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/packages/vitest/src/node/reporters/reported-tasks.ts b/packages/vitest/src/node/reporters/reported-tasks.ts index 3de97527e..86f5b8e3d 100644 --- a/packages/vitest/src/node/reporters/reported-tasks.ts +++ b/packages/vitest/src/node/reporters/reported-tasks.ts @@ -199,8 +199,6 @@ export class TestCase extends ReportedTaskImplementation { } /** - * @experimental - * * Individual results for every retry and repeat attempt. */ public attempts(): ReadonlyArray { @@ -641,7 +639,6 @@ export type TestState = TestResult['state'] /** * The result of an individual test attempt. - * @experimental */ export interface TestAttempt { /** The state after applying the test's expected failure option. */ diff --git a/packages/vitest/src/runtime/runner/types.ts b/packages/vitest/src/runtime/runner/types.ts index 0aab846a3..cb3516b8a 100644 --- a/packages/vitest/src/runtime/runner/types.ts +++ b/packages/vitest/src/runtime/runner/types.ts @@ -160,7 +160,6 @@ export interface TaskMeta { /** * The result of an individual test attempt. - * @experimental */ export interface TaskResultAttempt { /** The state after applying the test's expected failure option. */ @@ -195,7 +194,6 @@ export interface TaskResult { errors?: TestError[] /** * Individual results for every retry and repeat attempt. - * @experimental */ attempts?: TaskResultAttempt[] /** -- 2.51.2