Skip to content

Commit 6773c30

Browse files
test: fix
1 parent cec5891 commit 6773c30

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/cli/cli.test.js

-16
Original file line numberDiff line numberDiff line change
@@ -209,22 +209,6 @@ describe('CLI', () => {
209209
.catch(done);
210210
});
211211

212-
it('should throw error for invalid host', (done) => {
213-
const cliPath = path.resolve(__dirname, '../../bin/webpack-dev-server.js');
214-
const cwd = path.resolve(__dirname, '../fixtures/cli');
215-
const cp = execa('node', [cliPath, '--host', 'invalid'], { cwd });
216-
217-
cp.stderr.on('data', (chunk) => {
218-
expect(chunk.toString()).toContain(
219-
`Address "invalid" is not available. Try with a different value for "host" option.`
220-
);
221-
});
222-
223-
cp.on('exit', () => {
224-
done();
225-
});
226-
});
227-
228212
it('--host localhost --port 9999', (done) => {
229213
testBin('--host localhost --port 9999')
230214
.then((output) => {

0 commit comments

Comments
 (0)