aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/fetch.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/fetch.test.js')
-rw-r--r--integration/bunjs-only-snippets/fetch.test.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/integration/bunjs-only-snippets/fetch.test.js b/integration/bunjs-only-snippets/fetch.test.js
index 9aea4d6d0..9b6093afd 100644
--- a/integration/bunjs-only-snippets/fetch.test.js
+++ b/integration/bunjs-only-snippets/fetch.test.js
@@ -1,9 +1,6 @@
import { it, describe, expect } from "bun:test";
import fs from "fs";
-
-function gc() {
- Bun.gc(true);
-}
+import { gc } from "./gc";
describe("fetch", () => {
const urls = ["https://example.com", "http://example.com"];