Created
March 4, 2018 18:31
-
-
Save rickhanlonii/da2f8ffaeb5bfe754c4da46e07dc8d14 to your computer and use it in GitHub Desktop.
Mock jest.fn example
This file contains 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
export const add = jest.fn(); | |
export const subtract = jest.fn(); | |
export const multiply = jest.fn(); | |
export const divide = jest.fn(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment