Skip to content
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

Unknown Summary #34

Open
anjana-sundaram opened this issue Mar 21, 2017 · 3 comments
Open

Unknown Summary #34

anjana-sundaram opened this issue Mar 21, 2017 · 3 comments
Labels

Comments

@anjana-sundaram
Copy link

I am getting unkown summary for any Mocha test script. I am not getting any report as well

=============================== Coverage summary ===============================
Statements : Unknown% ( 0/0 )
Branches : Unknown% ( 0/0 )
Functions : Unknown% ( 0/0 )
Lines : Unknown% ( 0/0 )

@anjana-sundaram
Copy link
Author

Found, related to this sindresorhus/gulp-mocha#159

Downgrading gulp-mocha to 3.1.0 solves.

@anjana-sundaram
Copy link
Author

But i am getting below error, but my coverage getting generated properly

coverage demo
√ A sample coverage

2 passing (8ms)

=============================== Coverage summary ===============================
Statements : 86.67% ( 13/15 )
Branches : 50% ( 2/4 )
Functions : 100% ( 4/4 )
Lines : 86.67% ( 13/15 )

[07:10:32] 'coverage' errored after 1.96 s
[07:10:32] Error in plugin 'gulp-jsx-coverage'
Message:
lines coverage 86.67% is lower than threshold 90%!

@zordius
Copy link
Owner

zordius commented Mar 22, 2017

ya you specify the coverage should over 90% but you only get 86.67% so it reports error. You may lower the threshold in your configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants