diff --git a/test/testUtils.test.ts b/test/testUtils.test.ts index 63b2ee6..3212bbd 100644 --- a/test/testUtils.test.ts +++ b/test/testUtils.test.ts @@ -39,7 +39,7 @@ describe("utils", () => { toQuery({ "type": "event", "id": 44.0, - "id2": 35.7, + "float": 35.7, "values": [true, false, null], "source": { "type": "component", @@ -47,7 +47,7 @@ describe("utils", () => { "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", () => {