Fixed tests.

This commit is contained in:
SamTV12345 2024-01-20 18:27:32 +01:00
parent ac5c65ba76
commit fadc56e437
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ MY_DIR=$(try cd "${0%/*}" && try pwd -P) || exit 1
try cd "${MY_DIR}/../../../.." try cd "${MY_DIR}/../../../.."
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
node ts-node src/node/server.ts --experimental-worker "${@}" & npx ts-node src/node/server.ts --experimental-worker "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."

View file

@ -11,7 +11,7 @@ MY_DIR=$(try cd "${0%/*}" && try pwd -P) || exit 1
try cd "${MY_DIR}/../../../.." try cd "${MY_DIR}/../../../.."
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
node ts-node src/node/server.ts --experimental-worker "${@}" & npx ts-node src/node/server.ts --experimental-worker "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."

View file

@ -19,7 +19,7 @@ s!"points":[^,]*!"points": 1000!
log "Deprecation notice: runnerBackend.sh - Please use: cd src && npm test" log "Deprecation notice: runnerBackend.sh - Please use: cd src && npm test"
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
node ts-node src/node/server.ts "${@}" & npx ts-node src/node/server.ts "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."

View file

@ -24,7 +24,7 @@ s!"points":[^,]*!"points": 1000!
' settings.json.template >settings.json ' settings.json.template >settings.json
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
node ts-node src/node/server.ts & npm run dev &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."