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

Adding Istanbul to tests for coverage reports #189

Closed
wants to merge 2 commits into from

Conversation

gagoar
Copy link
Contributor

@gagoar gagoar commented Nov 20, 2020

Description

This PR provides reporting the current mocha tests.

in order to land #185 we need to get the coverage report that mocha doesn't generate.

hopefully, this will be temporary till I finish the jest migration (given that jest already comes with Istanbul)

I've also removed several other coverage tools that were in the project: coveralls and isparta.

Considerations

If we decide to land #190 this PR will be closed automatically

@@ -33,6 +33,7 @@
"start": "node lib/server",
"watch": "babel scripts/watch.js | node",
"test": "npm run lint && npm run check && npm run test:only",
"test:coverage": "nyc --report-dir coverage --reporter=lcov --reporter=text mocha $npm_package_options_mocha",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used the directory coverage so we keep things similar when moving to jest (jest by default creates reports in coverage)

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

Successfully merging this pull request may close these issues.

1 participant