Skip to content

Commit

Permalink
docs(readme): fix debug signature typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed May 12, 2024
1 parent 2978911 commit 9d01688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9d01688

Please sign in to comment.