Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/mock.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ getApplesSpy.mock.calls.length === 1
要验证 mock 的行为,请通过 [`expect`](/api/expect) 调用类似 [`toHaveBeenCalled`](/api/expect#tohavebeencalled) 的断言方法;以下 API 参考汇总了所有可用来操控 mock 的属性和方法。

::: tip
The custom function implementation in the types below is marked with a generic `<T>`.
以下类型中的自定义函数实现使用泛型 `<T>` 进行标记。
:::

## getMockImplementation
Expand Down