From cec8f508a26da236c822ead77cc6b0b90c2dcff3 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Mon, 16 Nov 2020 18:31:53 +0530 Subject: [PATCH] docs: update instructions to try dev build of Jest in another project (#10831) --- CONTRIBUTING.md | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) 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