test: bind to 127.0.0.1 in contextBridge spec (#23639)
This commit is contained in:
parent
27d7eb3880
commit
3f3a760a01
1 changed files with 1 additions and 1 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in a new issue