Skip to content

Commit

Permalink
fix(vitest): deprecate TaskBase type
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 3, 2024
1 parent 970e0f4 commit a67c36b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vitest/src/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
Custom as Custom_,
File as File_,
Suite as Suite_,
TaskBase as TaskBase_,
Task as Task_,
Test as Test_,
} from '@vitest/runner'
Expand Down Expand Up @@ -137,11 +138,13 @@ export type Test = Test_
export type Custom = Custom_
/** @deprecated use `RunnerTask` instead */
export type Task = Task_
/** @deprecated use `RunnerTaskBase` instead */
export type TaskBase = TaskBase_

export type {
RunMode,
TaskState,
TaskBase,
TaskBase as RunnerTaskBase,
TaskResult,
TaskResultPack,
Suite as RunnerTestSuite,
Expand Down

0 comments on commit a67c36b

Please sign in to comment.