You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
Problem: getting started has you install mocha locally, make a test dir, and write a test, but doesn't show you how to run it nor how to set up npm test.
Suggestion: instruct users to add a test script to package.json such as:
If mocha is installed locally: "scripts": { "test": "./node_modules/mocha/bin/mocha" },
If mocha is installed globally: "scripts": { "test": "mocha" },
And then run it with $ npm test
Expected: some instruction on how to run tests after installing mocha. Current:
The text was updated successfully, but these errors were encountered:
https://mochajs.org/#getting-started
Problem: getting started has you install mocha locally, make a test dir, and write a test, but doesn't show you how to run it nor how to set up npm test.
Suggestion: instruct users to add a test script to package.json such as:
If mocha is installed locally:
"scripts": { "test": "./node_modules/mocha/bin/mocha" },
If mocha is installed globally:
"scripts": { "test": "mocha" },
And then run it with
$ npm test
Expected: some instruction on how to run tests after installing mocha.
Current:
The text was updated successfully, but these errors were encountered: