FORGE-F008 Add unified testing toolkit for generated projects
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/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)
|
||||
Reference in New Issue
Block a user