Don't recommend deprecated debugger script (#26171)
yarn debug-test is now deprecated in React package.json. It has been replaced by yarn test --debug. https://user-images.githubusercontent.com/72331432/219268188-8ff5dd42-da2b-434c-83be-72a9d258ee98.mp4
BIKI DAS committed
Feb 16, 2023 at 15:41 UTC
2f401701921d13ab65e2a2ee1c96caa94f426442
1 file changed
+1
-1
.github/PULL_REQUEST_TEMPLATE.md
+1
-1
@@ -9,7 +9,7 @@
9
3. If you've fixed a bug or added code that should be tested, add tests!
10
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
11
5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`.
12
- 6. If you need a debugger, run `yarn debug-test --watch TestName`, open `chrome://inspect`, and press "Inspect".
12
+ 6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect".
13
7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
14
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
15
9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`).