diff --git a/js/tests/get-json_test.js b/js/tests/get-json_test.js index 3c8a457da..e5d0d6d2b 100644 --- a/js/tests/get-json_test.js +++ b/js/tests/get-json_test.js @@ -15,7 +15,7 @@ t(async ({ eq }) => { let url fetch = async (arg) => fakeFetch({ url: (url = arg) }) const pending = getJSON('/test', { query: 'hello world', b: 5 }) - return eq(url, '/test?query=hello%20world&b=5') + return eq(url, '/test?query=hello+world&b=5') }) t(async ({ eq }) => {