Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

Need test run command in Getting Started #57

Closed
bdharris08 opened this issue Oct 18, 2016 · 1 comment
Closed

Need test run command in Getting Started #57

bdharris08 opened this issue Oct 18, 2016 · 1 comment

Comments

@bdharris08
Copy link
Contributor

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:
screen shot 2016-10-18 at 3 32 11 pm

@ScottFreeCode
Copy link

See also mochajs/mocha#2282 (comment)

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

No branches or pull requests

3 participants