From c109de25236711e8d986d180519f4d402df40647 Mon Sep 17 00:00:00 2001 From: SmolParascythe <106285195+SmolParascythe@users.noreply.github.com> Date: Mon, 18 Jul 2022 20:07:56 -0700 Subject: [PATCH] Fix grammar and made writing succinct in README --- tests/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/README.md b/tests/README.md index c140448954..d3c589b30c 100644 --- a/tests/README.md +++ b/tests/README.md @@ -86,18 +86,19 @@ server before running all/any tests and stops the server when done. You can disable this, which might make it easier when debugging tests since the server won't need to start and stop every time you run tests. -In one terminal type: +In one terminal, type: ```sh NODE_ENV=test PORT=4000 node server.mjs ``` -In another terminal type: +In another terminal, type: ```sh START_JEST_SERVER=false jest tests/rendering/foo/bar.js ``` Or whatever the testing command you use is. + **Note:** the `START_JEST_SERVER=false` environment variable needs to be set, or else `jest` will try to start a server on `:4000` too.