#!/bin/sh # # Runs both suites. Needs only node and git on PATH — no npm install, no # network: the Gitea instance is a fetch() stub and Nova's runtime is stubbed. # set -e cd "$(dirname "$0")" status=0 for suite in units.test.js host-aliases.test.js integration.test.js; do printf '\n########## %s ##########\n' "$suite" node "$suite" || status=1 done printf '\n' if [ "$status" -eq 0 ]; then echo "All suites passed." else echo "One or more suites failed." fi exit "$status"