mirror of https://github.com/actions/toolkit
Expect empty array instead of undefined
parent
833d5cadab
commit
c285ab1ccd
|
@ -240,7 +240,7 @@ it('HttpClient bypasses proxy for loopback addresses (localhost, ::1, 127.*)', a
|
||||||
const body: string = await res.readBody()
|
const body: string = await res.readBody()
|
||||||
expect(body).toEqual('');
|
expect(body).toEqual('');
|
||||||
// proxy at _proxyUrl was ignored
|
// proxy at _proxyUrl was ignored
|
||||||
expect(_proxyConnects).toEqual(undefined)
|
expect(_proxyConnects).toEqual([])
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
await server.close()
|
await server.close()
|
||||||
|
|
Loading…
Reference in New Issue