tests: fix test (#29)
This commit is contained in:
Родитель
1d29ee6e11
Коммит
58e0b4b727
|
@ -117,7 +117,7 @@ test('proxy https to https', async t => {
|
|||
|
||||
const serverAddress = server.address() as AddressInfo;
|
||||
|
||||
const response = await xhr({ url: `https://localhost:${serverAddress.port}` });
|
||||
const response = await xhr({ url: `https://${serverAddress.address}:${serverAddress.port}` });
|
||||
|
||||
t.is(response.responseText, 'ok');
|
||||
t.is(response.status, 200);
|
||||
|
|
Загрузка…
Ссылка в новой задаче