Skip to content

Commit a656846

Browse files
test: update
1 parent 77a62cc commit a656846

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/cli/__snapshots__/cli.test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ exports[`CLI --host :: (IPv6): stderr 1`] = `
77
<i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
88
`;
99
10-
exports[`CLI --host <IPv4>: stderr 1`] = `
11-
"<i> [webpack-dev-server] Project is running at http://<network-ip-v4>:<port>/ (IPv4)
10+
exports[`CLI --host ::1 (IPv6): stderr 1`] = `
11+
"<i> [webpack-dev-server] Project is running at http://[::1]:<port>/ (IPv6)
1212
<i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
1313
`;
1414
15-
exports[`CLI --host <IPv6>: stderr 1`] = `
16-
"<i> [webpack-dev-server] Project is running at http://<network-ip-v4>:<port>/ (IPv4), http://[::ffff:<network-ip-v4>]:<port>/ (IPv6)
15+
exports[`CLI --host <IPv4>: stderr 1`] = `
16+
"<i> [webpack-dev-server] Project is running at http://<network-ip-v4>:<port>/ (IPv4)
1717
<i> [webpack-dev-server] Content not from webpack is served from '<cwd>/public' directory"
1818
`;
1919

test/cli/cli.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('CLI', () => {
124124
.catch(done);
125125
});
126126

127-
it.skip('--host ::1 (IPv6)', (done) => {
127+
it('--host ::1 (IPv6)', (done) => {
128128
testBin('--host ::1')
129129
.then((output) => {
130130
expect(normalizeStderr(output.stderr)).toMatchSnapshot('stderr');
@@ -174,7 +174,7 @@ describe('CLI', () => {
174174
.catch(done);
175175
});
176176

177-
it(`--host <IPv6>`, (done) => {
177+
it.skip(`--host <IPv6>`, (done) => {
178178
testBin(`--host ${localIPv6}`)
179179
.then((output) => {
180180
expect(normalizeStderr(output.stderr)).toMatchSnapshot('stderr');

0 commit comments

Comments
 (0)