aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/fetch.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-20 21:35:22 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-06-22 06:56:47 -0700
commit41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0 (patch)
treefd1819ed5dfbe58edfe971b7c05c2c59549b8251 /integration/bunjs-only-snippets/fetch.test.js
parentbfa5b2955533a60b2f12e6ac65d4868efcaf5222 (diff)
downloadbun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.gz
bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.zst
bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.zip
Cleanup tests
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"];