Skip to content

Instantly share code, notes, and snippets.

@vjwilson
Last active September 17, 2017 17:23
Show Gist options
  • Save vjwilson/ca2a93c90219b5acdb8b757417b1eac2 to your computer and use it in GitHub Desktop.
Save vjwilson/ca2a93c90219b5acdb8b757417b1eac2 to your computer and use it in GitHub Desktop.
Snippets for practicing TDD on the Linkshare app, part 1
# 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
# install test helpers as dev dependencies
npm install --save-dev enzyme jest-enzyme react-test-renderer
# 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