diff options
author | 2022-06-20 21:35:22 -0700 | |
---|---|---|
committer | 2022-06-22 06:56:47 -0700 | |
commit | 41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0 (patch) | |
tree | fd1819ed5dfbe58edfe971b7c05c2c59549b8251 /integration/bunjs-only-snippets/toml.test.js | |
parent | bfa5b2955533a60b2f12e6ac65d4868efcaf5222 (diff) | |
download | bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.gz bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.zst bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.zip |
Cleanup tests
Diffstat (limited to 'integration/bunjs-only-snippets/toml.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/toml.test.js | 6 |
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(); }); |