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

Code coverage? #33

Open
absorpheus opened this issue Nov 3, 2017 · 0 comments
Open

Code coverage? #33

absorpheus opened this issue Nov 3, 2017 · 0 comments

Comments

@absorpheus
Copy link

absorpheus commented Nov 3, 2017

Not an issue but would be great to see some code coverage

Istanbul is currently showing 69.23% coverage for functions. You should also set up istanbul (npm install —save-dev istanbul) and then in package.json:

screen shot 2017-11-02 at 22 43 12

"codecov": "istanbul cover tape ./tests/*.test.js | tap-spec"

Then when you do npm run codecov you will see code coverage in the terminal. Also, a new folder will be created called coverage, inside this folder open lcov-report and then open index.html to see the code coverage results in the browser.

Write some tests for startDoDo and sortToDos to bump your code coverage up!

screen shot 2017-11-02 at 22 42 16

rb50 added a commit that referenced this issue Nov 3, 2017
wrote tests for starTodo and sortTodo relates #33
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

No branches or pull requests

1 participant