mirror of https://github.com/01-edu/public.git
get-json_test.js fix after node version upgrade
This commit is contained in:
parent
bb41ef4cc7
commit
53de2c9772
|
@ -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…
Reference in New Issue