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

9 lines
284 B
Bash
Executable File

#!/usr/bin/env bash
# Run the UI's tests with line coverage (c8, mapped back to the ClojureScript); the report goes
# to target/coverage/ui. Needs Node and a JDK, like script/ui-test.
set -euo pipefail
cd "$(dirname "$0")/../ui"
[[ -d node_modules ]] || npm ci
exec npm run coverage