Skip to content

Commit bc0297a

Browse files
committed
docs(contributing): update instructions to run individual tests
Add docs to either install jest or use the locally installed binaries from node_modules ISSUES CLOSED: #775
1 parent 126cf55 commit bc0297a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ npm link webpack-cli
4949
- `BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js`
5050

5151
* To test a single CLI (other type of) test case:
52-
- `yarn jest path/to/my-test.js`
52+
- `npx jest path/to/my-test.js`
53+
- You can also install jest globally and run tests without npx.
54+
- `npm i -g jest`
5355

5456
* To test linting:
5557
- `npm run lint && npm run tslint`

0 commit comments

Comments
 (0)