Files
bortstack-forge/templates/flask-react/boilerplate/.bortstack/testing/run-integration-tests.sh
T
2026-12-02 15:44:24 +00:00

9 lines
250 B
Bash
Executable File

#!/bin/sh
set -eu
root=$(CDPATH= cd -- "$(dirname -- "$0")/../../.." && pwd)
if [ ! -d "$root/react/node_modules" ]; then
echo 'integration tests unavailable: install react/node_modules first' >&2
exit 3
fi
(cd "$root/react" && npm run test:e2e)