Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Apr 2, 2024
1 parent 06641f1 commit 3334bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ describe("utils", () => {
toQuery({
"type": "event",
"id": 44.0,
"id2": 35.7,
"float": 35.7,
"values": [true, false, null],
"source": {
"type": "component",
"id": "a+b&c= d",
"values": [3, 4]
}
})
).toBe("type=event&id=44&id2=35.7&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4");
).toBe("type=event&id=44&float=35.7&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4");
});

test("post-to-get empty", () => {
Expand Down

0 comments on commit 3334bb0

Please sign in to comment.