Add generic E2E harness and Marmot TS relay test suite

This commit is contained in:
2026-03-14 00:32:34 +01:00
parent d95cd1cb33
commit 9616383e19
7 changed files with 706 additions and 50 deletions

18
scripts/run_marmot_e2e.sh Executable file
View 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