diff --git a/docs/guide/migration.md b/docs/guide/migration.md index c7f3235fe..21b695a9f 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -56,7 +56,7 @@ With the new `browser.instances` field you can also specify multiple browser con ### `spy.mockReset` Now Restores the Original Implementation -There was no good way to reset the spy to the original implementation without reaplying the spy. Now, `spy.mockReset` will reset the implementation function to the original one instead of a fake noop. +There was no good way to reset the spy to the original implementation without reapplying the spy. Now, `spy.mockReset` will reset the implementation function to the original one instead of a fake noop. ```ts const foo = { diff --git a/docs/guide/test-context.md b/docs/guide/test-context.md index 310e7d389..fe598dec8 100644 --- a/docs/guide/test-context.md +++ b/docs/guide/test-context.md @@ -434,7 +434,7 @@ test('types are defined correctly', ({ todos, archive }) => { }) ``` -::: info Type Infering +::: info Type Inferring Note that Vitest doesn't support infering the types when the `use` function is called. It is always preferable to pass down the whole context type as the generic type when `test.extend` is called: ```ts