-
Notifications
You must be signed in to change notification settings - Fork 594
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
Moving to a mock for tests #244
Conversation
9c0ee9d
to
6ed5b5c
Compare
6ed5b5c
to
87ac146
Compare
Can someone take a look at this and make sure all is well? |
@@ -12,8 +12,7 @@ | |||
] | |||
}, | |||
"scripts": { | |||
"test": "npm run lint && npm run prepublish", | |||
"test-unit": "browserify test/*.test.js | tap-closer | smokestack | tap-status", | |||
"test": "tape -r ./test/mock-browser.js -r babel-register test/*.test.js", |
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.
Is the removal of linting here intentional?
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.
Yes. test-unit
was the real tests but they couldn't run in circle so for circle we tested if we could build. I don't think we need to test this anymore, but if you have concerns about not testing the build in circle (its implicitly tested by publishing) I'm all ears.
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.
It's nice for making sure that PRs don't introduce linting problems to fail the tests on this
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.
+1 on including npm run lint
@mcwhittemore LGTM other than the things noted. Should probably try to add back in the skipped tests at some point but not necessary for this PR |
87ac146
to
77bd3bc
Compare
Moving to a mock for tests
Closes #235
Closes #200
Closes #197
This also makes it so
permanent
features aren't selectable withDraw.select()
.