Skip to content

Commit 58e0b4b

Browse files
authored
tests: fix test (#29)
1 parent 1d29ee6 commit 58e0b4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ test('proxy https to https', async t => {
117117

118118
const serverAddress = server.address() as AddressInfo;
119119

120-
const response = await xhr({ url: `https://localhost:${serverAddress.port}` });
120+
const response = await xhr({ url: `https://${serverAddress.address}:${serverAddress.port}` });
121121

122122
t.is(response.responseText, 'ok');
123123
t.is(response.status, 200);

0 commit comments

Comments
 (0)