diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ae76536aa041..98236bc06f85 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -158,13 +158,6 @@ In order to accept your pull request, we need you to submit a CLA. You only need ## How to try a development build of Jest in another project -To link `jest` on the command line to `jest-cli/bin/jest.js` in a development build: - -```sh-session -$ cd /path/to/your/Jest_clone/packages/jest-cli -$ yarn link -``` - To build Jest: ```sh-session @@ -184,20 +177,11 @@ To run tests in another project with the development build of Jest: ```sh-session $ cd /path/to/another/project -# link development build to the other project -$ yarn link jest-cli - -$ jest [options] # run jest-cli/bin/jest.js in the development build +$ node /path/to/your/JestClone/packages/jest/bin/jest [options] # run jest-cli/bin/jest.js in the development build ``` - To decide whether to specify any options, see `test` under `scripts` in the `package.json` file of the other project. -To unlink `jest` on the command line from `jest-cli/bin/jest.js` in a development build: - -```sh -yarn unlink jest-cli -``` - ## Bugs ### Where to Find Known Issues