diff --git a/packages/noco-docs/content/en/engineering/testing.md b/packages/noco-docs/content/en/engineering/testing.md index cb841a152d..b13e59513b 100644 --- a/packages/noco-docs/content/en/engineering/testing.md +++ b/packages/noco-docs/content/en/engineering/testing.md @@ -30,13 +30,13 @@ npm install - Add your `env` file with the following command -``` -cp tests/unit/.env.copy tests/unit/.env +``` bash +cp tests/unit/.env.sample tests/unit/.env ``` - Open the `.env` file -``` +``` bash open tests/unit/.env ```` @@ -47,12 +47,9 @@ open tests/unit/.env > DB_HOST : mysql host
> DB_PORT : mysql port
- - ### How to run tests -``` - +``` bash npm run test:unit ``` diff --git a/packages/nocodb/tests/unit/.env.copy b/packages/nocodb/tests/unit/.env.sample similarity index 100% rename from packages/nocodb/tests/unit/.env.copy rename to packages/nocodb/tests/unit/.env.sample