Skip to content

Using Mocha, Chai & nyc for testing coverage. Created for learning purpose.

Notifications You must be signed in to change notification settings

shubh1646/js-Unit-Testing

Repository files navigation

js-Unit-Testing

Using Mocha, Chai & nyc for testing coverage. Created for learning purpose.

to run test

  • npm run test

to run cover

  • npm run cover
  • in package.json under script include "cover" : "nyc --reporter=html --reporter=text mocha"

Images

Code coverage report on terminal

Screen Shot 2020-09-05 at 5 14 57 PM

Code coverage report

Screen Shot 2020-09-05 at 5 08 52 PM

About

Using Mocha, Chai & nyc for testing coverage. Created for learning purpose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published