Browse Source

get-json_test.js fix after node version upgrade

content-update
Clément 3 years ago committed by GitHub
parent
commit
53de2c9772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      js/tests/get-json_test.js

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

Loading…
Cancel
Save