mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 13:49:13 +08:00
Expect empty array instead of undefined
This commit is contained in:
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…
x
Reference in New Issue
Block a user