From 14ee16dfc886343330a79f859ee08b2c60d5abeb Mon Sep 17 00:00:00 2001 From: Joshua Horowitz Date: Fri, 1 Mar 2024 23:17:23 -0800 Subject: [PATCH] docs: grammar fix (#5324) --- docs/api/expect.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'