diff --git a/packages/vitest/src/runtime/context.ts b/packages/vitest/src/runtime/context.ts index fccb39ea0015..d9579ab12852 100644 --- a/packages/vitest/src/runtime/context.ts +++ b/packages/vitest/src/runtime/context.ts @@ -47,7 +47,7 @@ export function withTimeout any)>( export function createTestContext(test: Test): TestContext { const context = function () { - throw new Error('done() callback is deperated, use promise instead') + throw new Error('done() callback is deprecated, use promise instead') } as unknown as TestContext context.meta = test