Created
August 25, 2016 13:04
-
-
Save mrcthms/f33f27fa380581742e57841ccf7b9112 to your computer and use it in GitHub Desktop.
Easier component-specific Enzyme testing
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
function enzyme() { | |
mocha --grep $1 src/**/*.spec.js | |
} |
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
enzyme Reviews | |
# runs tests for reviews |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment