aboutsummaryrefslogtreecommitdiff
path: root/test/apps/bun-create-react.sh
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-05 11:04:59 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-07-05 11:04:59 -0700
commit70e2bda971e41c8bf9426da30af8d28310ddd485 (patch)
treea5a91e0e56c4356d9aae8740b1c0bf093dbbbf9a /test/apps/bun-create-react.sh
parent0d542753142511dacdfcfaa1d459a98772a1e148 (diff)
downloadbun-v0.1.0.tar.gz
bun-v0.1.0.tar.zst
bun-v0.1.0.zip
Fix testsbun-v0.1.0
Diffstat (limited to 'test/apps/bun-create-react.sh')
-rw-r--r--test/apps/bun-create-react.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/apps/bun-create-react.sh b/test/apps/bun-create-react.sh
index 2b986134c..41552dee5 100644
--- a/test/apps/bun-create-react.sh
+++ b/test/apps/bun-create-react.sh
@@ -6,14 +6,13 @@ rm -rf /tmp/react-app
mkdir -p /tmp/react-app
$BUN_BIN create react /tmp/react-app
-
if (($?)); then
echo "bun create failed"
exit 1
fi
cd /tmp/react-app
-BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN --port 8087 &
+BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN dev --port 8087 &
sleep 0.005
curl --fail http://localhost:8087/ && curl --fail http://localhost:8087/src/index.jsx && killall -9 $(basename $BUN_BIN) && echo "✅ bun create react passed."