From 9695c6c845b06713e588ef6a704d0ea43fdaeee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=89=AC?= <15171255945@163.com> Date: Mon, 9 May 2022 15:45:57 +0800 Subject: [PATCH] docs: fix api/expect.[toHaveReturnedWith, toHaveLastReturnedWith] procuct -> product (#1275) --- docs/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 43d3987e9daf..d366d8ffbf23 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -1173,7 +1173,7 @@ When you use `test` in the top level of file, they are collected as part of the sell('apples') - expect(sell).toHaveReturnedWith({ procuct: 'apples' }) + expect(sell).toHaveReturnedWith({ product: 'apples' }) }) ``` @@ -1192,7 +1192,7 @@ When you use `test` in the top level of file, they are collected as part of the sell('apples') sell('bananas') - expect(sell).toHaveLastReturnedWith({ procuct: 'bananas' }) + expect(sell).toHaveLastReturnedWith({ product: 'bananas' }) }) ```