Initial commit: AetherForge Linux (forge-mesh) v0.1.0-dev
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
drjones
2026-07-04 09:31:23 +00:00
commit 3678b199d0
154 changed files with 21714 additions and 0 deletions

18
scripts/test-frontend.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Frontend unit tests (Vitest + Testing Library)
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
WEB="${ROOT}/web"
cd "${WEB}"
if [[ ! -d node_modules ]]; then
echo "==> [frontend] installing dependencies"
npm ci 2>/dev/null || npm install
fi
echo "==> [frontend] vitest run"
npm run test
echo "✓ frontend tests passed"