Created
March 28, 2019 18:59
-
-
Save justinobney/75c44a8538ae6c8f50142bc7d440d98c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect.extend({ | |
toHaveBeenCalledWithSnapshot: received => { | |
expect(received).toHaveBeenCalled(); | |
expect(received.mock.calls).toMatchSnapshot(); | |
return { | |
message: () => '', | |
pass: true, | |
}; | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment