diff options
author | 2021-12-18 21:07:07 -0800 | |
---|---|---|
committer | 2021-12-18 21:07:07 -0800 | |
commit | 0cee57f1d997fe21e519d5e771df0877ab489d5f (patch) | |
tree | 417d044ebbc47cc9b6ef49213620c07ae2927e0a /integration | |
parent | d1783babd99ff2a8020765837b3b9b3099137024 (diff) | |
parent | eab99b3bae9a810d76e6eb16afd9fb32cd7672bd (diff) | |
download | bun-0cee57f1d997fe21e519d5e771df0877ab489d5f.tar.gz bun-0cee57f1d997fe21e519d5e771df0877ab489d5f.tar.zst bun-0cee57f1d997fe21e519d5e771df0877ab489d5f.zip |
Merge pull request #80 from Jarred-Sumner/jarred/npm-install
bun install
Diffstat (limited to 'integration')
-rw-r--r-- | integration/apps/bun-create-next.sh | 13 | ||||
-rw-r--r-- | integration/scripts/snippets.json | 3 |
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" ] |