Skip to content

Learning testing with Mocha, Chai, Sinon By Examples

License

Notifications You must be signed in to change notification settings

mrdulin/mocha-chai-sinon-codelab

Repository files navigation

mocha-chai-sinon-codelab

Learning testing with Mocha, Chai, Sinon By Examples

test

Run all test suites

npm test

Run all test suites with coverage report:

npm run test:coverage

Run tests for a single test file. E.g.

npm run test:single /Users/ldu020/workspace/github.com/mrdulin/mocha-chai-sinon-codelab/src/stackoverflow/58955304/index.spec.js

Run tests for a single test file with coverage report. E.g.

npm run test:s:c /Users/ldu020/workspace/github.com/mrdulin/mocha-chai-sinon-codelab/src/stackoverflow/58955304/index.spec.js

Flag Counter