From f67bb8f4670c164e937bd5668f6608f651f45019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEArtem=20Kozaev?= Date: Mon, 25 Apr 2022 18:37:08 +0300 Subject: [PATCH] chore: fix typo (#1190) --- packages/vitest/src/runtime/context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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