Update app.sh

This commit is contained in:
colin 2023-12-27 06:07:12 +00:00
parent 5928e6d81b
commit 54fa4b3581
1 changed files with 3 additions and 1 deletions

4
app.sh
View File

@ -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