#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "$0")/../../.." && pwd)"

if [[ "${SKIP_TP_BUILD:-0}" != "1" ]]; then
  "$ROOT_DIR/tools/build_tp_wasm.sh"
fi
node "$ROOT_DIR/tests/wasm/node/verify_tp_wasm.mjs"
