#!/usr/bin/env bash # devbox run client-test: the pure reducer/protocol-client seam (TESTING 10.3 "Client reducer", # spec #63 decision 13). No server, no browser, no GPU: these run in a second. set -euo pipefail cd "$(dirname "$0")/.." || exit 1 mkdir -p results { [ -d client/node_modules ] || ( cd client && npm ci --no-audit --no-fund ); } ( cd client && npm test ) > results/client-test.log 2>&1 rc=$? cat results/client-test.log exit $rc