diff options
author | 2021-10-26 19:07:37 -0700 | |
---|---|---|
committer | 2021-10-26 19:07:37 -0700 | |
commit | 8d095a235fed9f0d83d708724bb821310b13502d (patch) | |
tree | 4c6a42a5dbac17a873a735808c735eba00f7a86f /integration/apps/bun-create-react.sh | |
parent | ff1417421bf47051cbeeb1d82967347619748fd9 (diff) | |
download | bun-8d095a235fed9f0d83d708724bb821310b13502d.tar.gz bun-8d095a235fed9f0d83d708724bb821310b13502d.tar.zst bun-8d095a235fed9f0d83d708724bb821310b13502d.zip |
Add test that checks JIT is enabled for JavaScriptCore and crashes if it isn't
Diffstat (limited to 'integration/apps/bun-create-react.sh')
-rw-r--r-- | integration/apps/bun-create-react.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/apps/bun-create-react.sh b/integration/apps/bun-create-react.sh index 3de1f5c09..d434c9f28 100644 --- a/integration/apps/bun-create-react.sh +++ b/integration/apps/bun-create-react.sh @@ -6,7 +6,7 @@ rm -rf /tmp/react-app; mkdir -p /tmp/react-app; $BUN_BIN create react /tmp/react-app; cd /tmp/react-app; -$BUN_BIN --port 8087 & +BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN --port 8087 & sleep 0.005 curl --fail http://localhost:8087/ && killall -9 $(basename $BUN_BIN) && echo "✅ bun create react passed." |