Add generic E2E harness and Marmot TS relay test suite
This commit is contained in:
18
scripts/run_marmot_e2e.sh
Executable file
18
scripts/run_marmot_e2e.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT_DIR/marmot-ts"
|
||||
|
||||
if [[ ! -d node_modules ]]; then
|
||||
npm install --no-audit --no-fund
|
||||
fi
|
||||
|
||||
npm run compile
|
||||
|
||||
cd "$ROOT_DIR"
|
||||
export PARRHESIA_MARMOT_E2E=1
|
||||
|
||||
exec ./scripts/run_e2e_suite.sh \
|
||||
marmot \
|
||||
node --test ./test/marmot_e2e/marmot_client_e2e.test.mjs
|
||||
Reference in New Issue
Block a user