Skip to content

Commit

Permalink
Fix toHaveBeenCalledOnceWith typing (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoreh committed Sep 10, 2022
1 parent 4bd8e4d commit dae0366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -174,7 +174,7 @@ declare namespace jest {
/**
* Use `.toHaveBeenCalledOnceWith` to check if a `Mock` was called exactly one time with the expected value.
*/
toHaveBeenCalledOnceWith(): R;
toHaveBeenCalledOnceWith(...args: unknown[]): R;

/**
* Use `.toBeNumber` when checking if a value is a `Number`.
Expand Down

0 comments on commit dae0366

Please sign in to comment.