-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some basic tests #7
Conversation
package.json
Outdated
@@ -18,6 +18,8 @@ | |||
"apollo-link-schema": "^1.1.0", | |||
"casual-browserify": "^1.5.19-2", | |||
"d3": "^5.5.0", | |||
"enzyme": "^3.3.0", | |||
"enzyme-adapter-react-16": "^1.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enzyme
and enzyme-adapter-react-16
should be in devDependencies
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would be clearer; moving them now.
The create-react-app README describes setting up enzyme and installs them as dependencies, not devDependencies. Discussed here.
package.json
Outdated
@@ -31,6 +33,7 @@ | |||
"react-measure": "^2.1.0", | |||
"react-router-dom": "^4.3.1", | |||
"react-scripts": "1.1.4", | |||
"react-test-renderer": "^16.4.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should also be in devDependencies
.
This PR:
yarn test:coverage
script