#!/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)