run-test-scenario.sh 384 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -e
  3. SCRIPT_PATH="$(dirname "${BASH_SOURCE[0]}")"
  4. cd $SCRIPT_PATH
  5. # pass the scenario name without .ts extension
  6. SCENARIO=$1
  7. # fallback to full.ts scenario if not specified
  8. SCENARIO=${SCENARIO:=full}
  9. # Execute the tests
  10. time DEBUG=integration-tests*,-integration-tests:query-node-api:* yarn workspace network-tests node-ts-strict src/scenarios/${SCENARIO}.ts