Skip to content

Commit

Permalink
Fix toHaveBeenCalledOnceWith type definition (closes #518) (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Oct 25, 2022
1 parent b860ed8 commit 90462de
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(...args: unknown[]): R;
toHaveBeenCalledOnceWith(arg: unknown): R;

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

0 comments on commit 90462de

Please sign in to comment.