Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ npm link webpack-cli
- `BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js`

* To test a single CLI (other type of) test case:
- `jest path/to/my-test.js`
- `npx jest path/to/my-test.js`
- You can also install jest globally and run tests without npx:
- `npm i -g jest`
- If you have jest installed globally:
- `jest path/to/my-test.js`

* To test linting:
- `npm run lint && npm run tslint`
Expand All @@ -72,7 +76,7 @@ yarn link webpack-cli
- `BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js`

* To test a single CLI (other type of) test case:
- `jest path/to/my-test.js`
- `yarn jest path/to/my-test.js`

* To test linting:
- `yarn lint && yarn tslint`
Expand Down