Last active
September 17, 2017 17:23
-
-
Save vjwilson/ca2a93c90219b5acdb8b757417b1eac2 to your computer and use it in GitHub Desktop.
Snippets for practicing TDD on the Linkshare app, part 1
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
# 1. fork the repo into your own GitHub account | |
# then, | |
git clone <URL of your fork> | |
# 2. checkout the first tag | |
git checkout 1-start-with-create-react-app |
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
# install test helpers as dev dependencies | |
npm install --save-dev enzyme jest-enzyme react-test-renderer |
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
# add this file in src/setupTests.js | |
import 'jest-enzyme'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment