Skip to content

Commit 3844da1

Browse files
authored
Changed yarn test-prod to yarn test --prod in contributing guide (#3491)
1 parent 527f6e5 commit 3844da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/how-to-contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The core team is monitoring for pull requests. We will review your pull request
8888
2. Run `yarn` in the repository root.
8989
3. If you've fixed a bug or added code that should be tested, add tests!
9090
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
91-
5. Run `yarn test-prod` to test in the production environment. It supports the same options as `yarn test`.
91+
5. Run `yarn test --prod` to test in the production environment.
9292
6. If you need a debugger, run `yarn debug-test --watch TestName`, open `chrome://inspect`, and press "Inspect".
9393
7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
9494
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
@@ -117,8 +117,8 @@ Then, you can run several commands:
117117
* `yarn linc` is like `yarn lint` but faster because it only checks files that differ in your branch.
118118
* `yarn test` runs the complete test suite.
119119
* `yarn test --watch` runs an interactive test watcher.
120+
* `yarn test --prod` runs tests in the production environment.
120121
* `yarn test <pattern>` runs tests with matching filenames.
121-
* `yarn test-prod` runs tests in the production environment. It supports all the same options as `yarn test`.
122122
* `yarn debug-test` is just like `yarn test` but with a debugger. Open `chrome://inspect` and press "Inspect".
123123
* `yarn flow` runs the [Flow](https://flowtype.org/) typechecks.
124124
* `yarn build` creates a `build` folder with all the packages.

0 commit comments

Comments
 (0)