diff options
-rw-r--r-- | test/js/web/fetch/body-stream.test.ts | 2 | ||||
-rw-r--r-- | test/js/web/fetch/fetch-leak.test.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/js/web/fetch/body-stream.test.ts b/test/js/web/fetch/body-stream.test.ts index 55a7570b3..64b3434e1 100644 --- a/test/js/web/fetch/body-stream.test.ts +++ b/test/js/web/fetch/body-stream.test.ts @@ -176,7 +176,7 @@ async function runInServer(opts: ServeOptions, cb: (url: string) => void | Promi } afterAll(() => { - existingServer && existingServer.close(); + existingServer && existingServer.stop(); existingServer = null; }); diff --git a/test/js/web/fetch/fetch-leak.test.js b/test/js/web/fetch/fetch-leak.test.js index 86b356227..9df32b92a 100644 --- a/test/js/web/fetch/fetch-leak.test.js +++ b/test/js/web/fetch/fetch-leak.test.js @@ -49,7 +49,7 @@ describe("fetch doesn't leak", () => { }, stderr: "inherit", stdout: "inherit", - cmd: [bunExe(), join(import.meta.dir, "fetch-leak-test-fixture-2.js")], + cmd: [bunExe(), "--smol", join(import.meta.dir, "fetch-leak-test-fixture-2.js")], }); const exitCode = await proc.exited; |