aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/toml.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/toml.test.js')
-rw-r--r--integration/bunjs-only-snippets/toml.test.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/integration/bunjs-only-snippets/toml.test.js b/integration/bunjs-only-snippets/toml.test.js
index ecf0f5f8a..44141b2d4 100644
--- a/integration/bunjs-only-snippets/toml.test.js
+++ b/integration/bunjs-only-snippets/toml.test.js
@@ -1,7 +1,12 @@
import { describe, it, expect } from "bun:test";
+import { gc } from "./gc";
it("syntax", async () => {
+ gc();
+
const toml = (await import("./toml-fixture.toml")).default;
+ gc();
+
expect(toml.framework).toBe("next");
expect(toml.bundle.packages["@emotion/react"]).toBe(true);
expect(toml.array[0].entry_one).toBe("one");
@@ -21,4 +26,5 @@ it("syntax", async () => {
"https://registry.mybigcompany.com"
);
expect(toml.install.scopes["@mybigcompany3"].three).toBe(4);
+ gc();
});