Update app.sh
This commit is contained in:
parent
5928e6d81b
commit
54fa4b3581
4
app.sh
4
app.sh
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/sh
|
#!/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
|
if [ "$TEST_MODE" = "true" ]; then
|
||||||
|
echo "Installing Mocha for testing..."
|
||||||
|
npm install mocha
|
||||||
echo "Running tests..."
|
echo "Running tests..."
|
||||||
npm test
|
npm test
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue