diff options
author | 2021-11-02 23:25:31 -0700 | |
---|---|---|
committer | 2021-11-02 23:25:31 -0700 | |
commit | ac9bd094f38f63ed4311164d9f9897cf19d04d88 (patch) | |
tree | afedc7000e88b6de4f06abcf915c55ab04faf5a0 | |
parent | becf55febc86a8c847ee0613c998e4abe19bc726 (diff) | |
download | bun-ac9bd094f38f63ed4311164d9f9897cf19d04d88.tar.gz bun-ac9bd094f38f63ed4311164d9f9897cf19d04d88.tar.zst bun-ac9bd094f38f63ed4311164d9f9897cf19d04d88.zip |
[test] Make sure we curl a jsx file in react integration test
-rw-r--r-- | integration/apps/bun-create-react.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/integration/apps/bun-create-react.sh b/integration/apps/bun-create-react.sh index d434c9f28..7d47de2c4 100644 --- a/integration/apps/bun-create-react.sh +++ b/integration/apps/bun-create-react.sh @@ -1,14 +1,13 @@ #!/bin/bash -killall -9 $(basename $BUN_BIN) || echo ""; +killall -9 $(basename $BUN_BIN) || echo "" -rm -rf /tmp/react-app; -mkdir -p /tmp/react-app; -$BUN_BIN create react /tmp/react-app; -cd /tmp/react-app; +rm -rf /tmp/react-app +mkdir -p /tmp/react-app +$BUN_BIN create react /tmp/react-app +cd /tmp/react-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 react passed." +curl --fail http://localhost:8087/ && curl --fail http://localhost:8087/src/index.jsx && killall -9 $(basename $BUN_BIN) && echo "✅ bun create react passed." exit $? - |