From cd1b8225a6f13c702fb69c3b84ed6c6306a947b6 Mon Sep 17 00:00:00 2001 From: Julien Elbaz Date: Sat, 1 Jun 2024 19:15:25 +0200 Subject: [PATCH] Typo in spec file --- test/node/wretch.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/node/wretch.spec.ts b/test/node/wretch.spec.ts index 0f22e76..91949e1 100644 --- a/test/node/wretch.spec.ts +++ b/test/node/wretch.spec.ts @@ -181,7 +181,7 @@ describe("Wretch", function () { }) it("should send a FormData object", async function () { - // Test with a nested object with an excluded field. + // Test with a nested object and the recursive property. let form: any = { hello: "world", duck: "Muscovy", @@ -223,7 +223,8 @@ describe("Wretch", function () { .post() .json() expect(decoded).toMatchObject({ - hello: "world" + hello: "world", + "nested[property]": "1", }) // Test without nesting.