Created
January 15, 2017 12:28
-
-
Save rakannimer/e0468a8b059ff9183463bf36e6dc0c3b to your computer and use it in GitHub Desktop.
Jest Photoshoot micro helper function
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
const photoshoot = (...args) => { | |
args.forEach(arg => | |
expect(arg).toMatchSnapshot() | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment