docs: update information about language

This commit is contained in:
Mrugesh Mohapatra
2020-04-29 22:31:52 +05:30
committed by GitHub
parent fe4ca9143c
commit be2893e323

View File

@ -324,11 +324,6 @@ function myFunc() {
Before you [create a pull request](how-to-open-a-pull-request.md) for your changes, you need to validate that the changes you have made do not inadvertently cause problems with the challenge. Before you [create a pull request](how-to-open-a-pull-request.md) for your changes, you need to validate that the changes you have made do not inadvertently cause problems with the challenge.
> [!WARNING]
> In the `.env` file, set the environment variable `TEST_CHALLENGES_FOR_LANGS` to the language of the challenge(s) you need to test. The currently accepted values are `english` and `chinese` for the language that you are working on
>
> This is set to test for `english` by default.
1. To test all challenges run the below command from the root directory 1. To test all challenges run the below command from the root directory
``` ```
@ -361,6 +356,12 @@ You are also able to test one challenge individually by performing the following
Once you have verified that each challenge you've worked on passes the tests, [please create a pull request](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/docs/how-to-open-a-pull-request.md). Once you have verified that each challenge you've worked on passes the tests, [please create a pull request](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/docs/how-to-open-a-pull-request.md).
> [!TIP]
> You can set the environment variable `TEST_CHALLENGES_FOR_LANGS` in the `.env` to the language of the challenge(s) you need to test.
>
> The currently accepted values are `english` and `chinese`, with `english` being set by default.
### Useful Links ### Useful Links
Creating and Editing Challenges: Creating and Editing Challenges: