#!/usr/bin/env bash
# Run the UI's (ClojureScript) tests under Node. Needs Node and a JDK, like script/ui-build.
set -euo pipefail
cd "$(dirname "$0")/../ui"

[[ -d node_modules ]] || npm ci
exec npx shadow-cljs compile test
