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