1
0
Fork 0

Expect empty array instead of undefined

fhammerl/port-runne-proxy-tests
Ferenc Hammerl 2023-03-01 15:09:48 +00:00
parent 833d5cadab
commit c285ab1ccd
1 changed files with 1 additions and 1 deletions

View File

@ -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()