diff --git a/docs/api/expect.md b/docs/api/expect.md index 04f4317b04d6..7b74129f6d53 100644 --- a/docs/api/expect.md +++ b/docs/api/expect.md @@ -836,7 +836,7 @@ test('spy function', () => { - **Type**: `(...args: any[]) => Awaitable` -This assertion checks if a function was called with certain parameters at it's last invocation. Requires a spy function to be passed to `expect`. +This assertion checks if a function was called with certain parameters at its last invocation. Requires a spy function to be passed to `expect`. ```ts import { expect, test, vi } from 'vitest' @@ -950,7 +950,7 @@ test('spy function returns a product', () => { - **Type**: `(returnValue: any) => Awaitable` -You can call this assertion to check if a function has successfully returned a value with certain parameters on it's last invoking. Requires a spy function to be passed to `expect`. +You can call this assertion to check if a function has successfully returned a value with certain parameters on its last invoking. Requires a spy function to be passed to `expect`. ```ts import { expect, test, vi } from 'vitest'