diff options
Diffstat (limited to 'test/bun.js/FormData.test.ts')
-rw-r--r-- | test/bun.js/FormData.test.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/bun.js/FormData.test.ts b/test/bun.js/FormData.test.ts index dbe1a8ef0..8e06aa96d 100644 --- a/test/bun.js/FormData.test.ts +++ b/test/bun.js/FormData.test.ts @@ -324,6 +324,15 @@ describe("FormData", () => { }); }); + it("Bun.inspect", () => { + const formData = new FormData(); + formData.append("foo", "bar"); + formData.append("foo", new Blob(["bar"])); + formData.append("bar", "baz"); + formData.append("boop", Bun.file("missing")); + expect(Bun.inspect(formData).length > 0).toBe(true); + }); + describe("URLEncoded", () => { test("should parse URL encoded", async () => { const response = new Response("foo=bar&baz=qux", { |