diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 98% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md index 6cea68c5c44..57782a4b7b9 100644 --- a/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -49,6 +49,8 @@ npm link webpack-cli - `BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js` * To test a single CLI (other type of) test case: + - If jest is not installed globally + - `npm i -g jest` - `jest path/to/my-test.js` * To test linting: @@ -72,6 +74,8 @@ yarn link webpack-cli - `BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js` * To test a single CLI (other type of) test case: + - If jest is not installed globally + - `yarn global add jest` - `jest path/to/my-test.js` * To test linting: