tidy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
James 2020-09-30 15:13:41 +01:00
parent 943d6c89e6
commit e53dba22b3
2 changed files with 2 additions and 14 deletions

View File

@ -37,7 +37,8 @@ Start the test server, will listen on localhost:8080
```plain
cd tests/server
./start_server.sh
npm install
node server.js
```
Run the tests:

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
npm install
if [ -z ${TRAVIS_JOB_ID} ]; then
# not running under travis, stay in foreground until stopped
node server.js
else
cd tests/server
# running under travis, daemonize
(node server.js &) || /bin/true
fi