test: bind to 127.0.0.1 in contextBridge spec (#23639)

This commit is contained in:
Jeremy Apthorp 2020-05-19 10:17:40 -07:00 committed by GitHub
parent 27d7eb3880
commit 3f3a760a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ describe('contextBridge', () => {
res.setHeader('Content-Type', 'text/html');
res.end('');
});
await new Promise(resolve => server.listen(0, resolve));
await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
});
after(async () => {