Skip to content

Instantly share code, notes, and snippets.

@maurer2
Created April 23, 2024 15:01
Show Gist options
  • Save maurer2/04733d18f6c399601d04d7dfb2579822 to your computer and use it in GitHub Desktop.
Save maurer2/04733d18f6c399601d04d7dfb2579822 to your computer and use it in GitHub Desktop.
PartialMatching in toHaveBeenCalledWith
mySpy.toHaveBeenCalledWith('important', 'important', expect.anything());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment