From 9d01688ff888e963bca75d72e7b90f1d482ca69d Mon Sep 17 00:00:00 2001 From: Michael Cousins Date: Sun, 12 May 2024 16:56:56 -0400 Subject: [PATCH] docs(readme): fix debug signature typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3888ace..8536c28 100644 --- a/README.md +++ b/README.md @@ -466,7 +466,7 @@ expect(spy('hello')).toEqual('world') expect(spy('hello')).toEqual('solar system') ``` -### `debug(spy: TFunc, options?: DebugOptions): DebugInfo` +### `debug(spy: TFunc, options?: DebugOptions): DebugResult` Logs and returns information about a mock's stubbing and usage. Useful if a test with mocks is failing and you can't figure out why.