From bdfff67be1455f2cf558d6b0049bc0874d67dcac Mon Sep 17 00:00:00 2001 From: David Wolfson <145220120+WolfieKnee@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:35:56 +0000 Subject: [PATCH] Update to instruction for running tests Alan Mellor Oct 11th at 10:39 AM @channel thanks Ellis - yes - mistake yet to be fixed. Follow Ellis' tip ;) Ellis Burgess For anyone working through the react TDD repo - I found that npm run -- --test didn't work for me for testing, but npm run test did and gave outputs matching the examples --- displaying-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/displaying-data.md b/displaying-data.md index f2e45fc..d69ff8c 100644 --- a/displaying-data.md +++ b/displaying-data.md @@ -42,7 +42,7 @@ We're starting by adding only the _Arrange_ and _Act_ sections of our test. We can run this partial test using ```bash -npm run -- --test +npm run test ``` and we'll get a test failure: