# Runs the full test suite: Go tests, then frontend vitest. param([switch]$SkipFrontend) $ErrorActionPreference = "Stop" $repoRoot = Split-Path -Parent $PSScriptRoot Set-Location $repoRoot go test ./... if ($LASTEXITCODE -ne 0) { exit 1 } if (-not $SkipFrontend) { npm test }