Skip to content

Commit

Permalink
chore: fix typo (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
artplan1 committed Apr 25, 2022
1 parent 469e95d commit f67bb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/runtime/context.ts
Expand Up @@ -47,7 +47,7 @@ export function withTimeout<T extends((...args: any[]) => 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
Expand Down

0 comments on commit f67bb8f

Please sign in to comment.