Skip to content

Commit

Permalink
Typo in spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Jun 1, 2024
1 parent 193d539 commit cd1b822
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/node/wretch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -223,7 +223,8 @@ describe("Wretch", function () {
.post()
.json()
expect(decoded).toMatchObject({
hello: "world"
hello: "world",
"nested[property]": "1",
})

// Test without nesting.
Expand Down

0 comments on commit cd1b822

Please sign in to comment.