diff options
-rw-r--r-- | test/apps/bun-create-react.sh | 2 | ||||
-rw-r--r-- | test/apps/bun-dev-index-html.sh | 2 | ||||
-rw-r--r-- | test/apps/bun-dev.sh | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/apps/bun-create-react.sh b/test/apps/bun-create-react.sh index 40055196b..564a59d35 100644 --- a/test/apps/bun-create-react.sh +++ b/test/apps/bun-create-react.sh @@ -13,7 +13,7 @@ if (($?)); then 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." diff --git a/test/apps/bun-dev-index-html.sh b/test/apps/bun-dev-index-html.sh index f34bf11a2..14db88113 100644 --- a/test/apps/bun-dev-index-html.sh +++ b/test/apps/bun-dev-index-html.sh @@ -21,7 +21,7 @@ echo $static_content >"$dir/static.txt" echo $css_not_transpiled_content >"$dir/css_not_transpiled_content.css" cd $dir -$BUN_BIN --port 8087 & +$BUN_BIN dev --port 8087 & sleep 0.005 if [[ "$(curl --fail -sS http://localhost:8087/)" != "$index_content" ]]; then diff --git a/test/apps/bun-dev.sh b/test/apps/bun-dev.sh index be1902965..fd2447e93 100644 --- a/test/apps/bun-dev.sh +++ b/test/apps/bun-dev.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash set -euo pipefail @@ -18,7 +18,7 @@ echo $bacon_content >"$dir/public/bacon.html" cd $dir -$BUN_BIN --port 8087 & +$BUN_BIN dev --port 8087 & sleep 0.005 if [ "$(curl --fail -sS http://localhost:8087/)" != "$index_content" ]; then |