From 729d445b6885f69dd2c6355f38707bd42851c791 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 22 Jun 2022 23:21:48 -0700 Subject: change the directory structure --- integration/bunjs-only-snippets/toml.test.js | 30 ---------------------------- 1 file changed, 30 deletions(-) delete mode 100644 integration/bunjs-only-snippets/toml.test.js (limited to 'integration/bunjs-only-snippets/toml.test.js') diff --git a/integration/bunjs-only-snippets/toml.test.js b/integration/bunjs-only-snippets/toml.test.js deleted file mode 100644 index 44141b2d4..000000000 --- a/integration/bunjs-only-snippets/toml.test.js +++ /dev/null @@ -1,30 +0,0 @@ -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"); - expect(toml.array[0].entry_two).toBe("two"); - expect(toml.array[1].entry_one).toBe("three"); - expect(toml.array[1].entry_two).toBe(undefined); - expect(toml.array[1].nested[0].entry_one).toBe("four"); - expect(toml.dev.one.two.three).toBe(4); - expect(toml.dev.foo).toBe(123); - expect(toml.inline.array[0]).toBe(1234); - expect(toml.inline.array[1]).toBe(4); - expect(toml.dev["foo.bar"]).toBe("baz"); - expect(toml.install.scopes["@mybigcompany"].url).toBe( - "https://registry.mybigcompany.com" - ); - expect(toml.install.scopes["@mybigcompany2"].url).toBe( - "https://registry.mybigcompany.com" - ); - expect(toml.install.scopes["@mybigcompany3"].three).toBe(4); - gc(); -}); -- cgit v1.2.3