We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e16b4b commit c6ed2ecCopy full SHA for c6ed2ec
test/Client.test.js
@@ -13,7 +13,7 @@ function startProxy(port) {
13
proxy.use(
14
'/',
15
httpProxy({
16
- target: 'http://0.0.0.0:8080',
+ target: 'http://[::]:8080',
17
ws: true,
18
changeOrigin: true,
19
proxyTimeout: 30000,
@@ -30,17 +30,15 @@ describe('Client code', () => {
30
const options = {
31
compress: true,
32
port: 8080,
33
- host: '0.0.0.0',
+ host: '::',
34
disableHostCheck: true,
35
hot: true,
36
watchOptions: {
37
poll: true,
38
},
39
};
40
addEntries(config, options);
41
- helper.start(config, options, () => {
42
- setTimeout(done, 15000);
43
- });
+ helper.start(config, options, done);
44
});
45
46
afterAll(helper.close);
0 commit comments