We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 808b9b0 commit b955a43Copy full SHA for b955a43
packages/openapi-fetch/test/index.test.ts
@@ -220,8 +220,7 @@ describe("client", () => {
220
221
// expect post_id to be encoded properly
222
const url = getRequestUrl();
223
- expect(url.searchParams.get("id ")).toBe(" 🥴");
224
- expect(url.pathname + url.search).toBe("/blogposts/post?id%20=%20%F0%9F%A5%B4");
+ expect(url.pathname).toBe("/blogposts/post%3Fid%20%3D%20%F0%9F%A5%B4");
225
});
226
227
0 commit comments