aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/text-encoder.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/text-encoder.test.js')
-rw-r--r--integration/bunjs-only-snippets/text-encoder.test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/integration/bunjs-only-snippets/text-encoder.test.js b/integration/bunjs-only-snippets/text-encoder.test.js
index 7c6a07efb..5687e0222 100644
--- a/integration/bunjs-only-snippets/text-encoder.test.js
+++ b/integration/bunjs-only-snippets/text-encoder.test.js
@@ -1,7 +1,5 @@
import { expect, it, describe } from "bun:test";
-function gcTrace() {
- Bun.gc(true);
-}
+import { gc as gcTrace } from "./gc";
const getByteLength = (str) => {
// returns the byte length of an utf8 string