From 54fa4b35811ba19e472010b488b21a1ed86dae09 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 27 Dec 2023 06:07:12 +0000 Subject: [PATCH] Update app.sh --- app.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.sh b/app.sh index 2773689..f59c3dd 100755 --- a/app.sh +++ b/app.sh @@ -1,7 +1,9 @@ #!/bin/sh -# Check if TEST_MODE is set to "true" +# If TEST_MODE is true, install Mocha and run tests if [ "$TEST_MODE" = "true" ]; then + echo "Installing Mocha for testing..." + npm install mocha echo "Running tests..." npm test else