aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
Diffstat (limited to 'integration')
-rw-r--r--integration/apps/bun-create-next.sh13
-rw-r--r--integration/scripts/snippets.json3
2 files changed, 7 insertions, 9 deletions
diff --git a/integration/apps/bun-create-next.sh b/integration/apps/bun-create-next.sh
index fc1318886..7f909d79f 100644
--- a/integration/apps/bun-create-next.sh
+++ b/integration/apps/bun-create-next.sh
@@ -2,15 +2,12 @@
# The important part of this test: make sure that Bun.js successfully loads
# The most likely reason for this test to fail is that something broke in the JavaScriptCore <> Bun integration
-killall -9 $(basename $BUN_BIN) || echo "";
+killall -9 $(basename $BUN_BIN) || echo ""
-rm -rf /tmp/next-app;
-mkdir -p /tmp/next-app;
-$BUN_BIN create next /tmp/next-app;
-cd /tmp/next-app;
+rm -rf /tmp/next-app
+mkdir -p /tmp/next-app
+$BUN_BIN create next /tmp/next-app
+cd /tmp/next-app
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 next passed."
-exit $?
-
diff --git a/integration/scripts/snippets.json b/integration/scripts/snippets.json
index 5d91a845e..a5ef6097a 100644
--- a/integration/scripts/snippets.json
+++ b/integration/scripts/snippets.json
@@ -24,5 +24,6 @@
"/jsx-entities.jsx",
"/optional-chain-with-function.js",
"/template-literal.js",
- "/number-literal-bug.js"
+ "/number-literal-bug.js",
+ "/caught-require.js"
]