Files
ajet 47f6cbf2d1
CI / Test + coverage (push) Successful in 1m33s
add ui tests to ci
2026-09-19 19:17:22 -09:00

9 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
# Run the UI's (ClojureScript) tests under Node, in a jsdom window. Needs Node and a JDK, like
# script/ui-build. script/docker-ui-test does the same with only Docker.
set -euo pipefail
cd "$(dirname "$0")/../ui"
[[ -d node_modules ]] || npm ci
exec npm test