aboutsummaryrefslogtreecommitdiff
path: root/test/js/node/async_hooks/AsyncLocalStorage.test.ts
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-07-21 23:27:28 -0700
committerGravatar GitHub <noreply@github.com> 2023-07-21 23:27:28 -0700
commit636cec03e10ab487b1df3057aaab60b4d2b02c99 (patch)
treefbf10b89dcd64270ba7fee1d78efba2b5caf2414 /test/js/node/async_hooks/AsyncLocalStorage.test.ts
parent1ecd9f8a18da1af9f2090791b15a18ff3e68411d (diff)
downloadbun-636cec03e10ab487b1df3057aaab60b4d2b02c99.tar.gz
bun-636cec03e10ab487b1df3057aaab60b4d2b02c99.tar.zst
bun-636cec03e10ab487b1df3057aaab60b4d2b02c99.zip
Use WebKit's URL parser in fetch() and `bun install` (#3730)
* Use WebKit's URL parser in fetch() and `bun install` * Allocate less memory * Fix test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'test/js/node/async_hooks/AsyncLocalStorage.test.ts')
-rw-r--r--test/js/node/async_hooks/AsyncLocalStorage.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/node/async_hooks/AsyncLocalStorage.test.ts b/test/js/node/async_hooks/AsyncLocalStorage.test.ts
index 1a7aad050..48f4cf16d 100644
--- a/test/js/node/async_hooks/AsyncLocalStorage.test.ts
+++ b/test/js/node/async_hooks/AsyncLocalStorage.test.ts
@@ -264,7 +264,7 @@ describe("async context passes through", () => {
},
});
- const response = await fetch(server.hostname + ":" + server.port);
+ const response = await fetch("http://" + server.hostname + ":" + server.port);
expect(await response.text()).toBe("value");
expect(s.getStore()).toBe("value");