-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
adds happiness, resolves #224 #373
Conversation
You don't need to do |
@bruderstein perhaps then If a test fails, that doesn't equate 0% or failed coverage. |
To test coverage, we run the tests. That's what coverage is 😄 If we make this pass even if the tests fail (just add an |
@bruderstein I've also found keeping coveralls separate helps when coveralls fails, which with my experience in https://github.com/bitcoinjs/bitcoinjs-lib/, happens often. For comparison, our |
@@ -48,11 +49,12 @@ | |||
"cover": "istanbul cover node_modules/.bin/_mocha -- -u exports --compilers js:babel/register -R spec", | |||
"coveralls": "NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --compilers js:babel/register -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.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.
@bruderstein why not just istanbul cover ...
and | coveralls
by the way?
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 took that from the coveralls site, if there's a better way, let's have it.
On Thu, Aug 13, 2015 at 8:57 AM, Daniel Cousens [email protected]
wrote:
In package.json
#373 (comment):@@ -48,11 +49,12 @@
"cover": "istanbul cover node_modules/.bin/_mocha -- -u exports --compilers js:babel/register -R spec",
"coveralls": "NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --compilers js:babel/register -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",@bruderstein https://github.com/bruderstein why not just | coveralls by
the way?—
Reply to this email directly or view it on GitHub
https://github.com/JedWatson/react-select/pull/373/files#r36945543.
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.
@bruderstein changed in 65358b5
I'll leave this one to you @bruderstein |
Currently the tests are failing because eslint explodes.