get-json_test.js fix after node version upgrade

This commit is contained in:
Clément 2021-02-23 21:23:37 +00:00 committed by GitHub
parent bb41ef4cc7
commit 53de2c9772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }) => {