Skip to content

Commit 15234fb

Browse files
authored
test: fix stdin test (#3327)
1 parent e99033d commit 15234fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli/cli.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ describe('CLI', () => {
789789
it('should exit the process when stdin ends if --watch-options-stdin, even before the compilation is done', (done) => {
790790
const cliPath = path.resolve(__dirname, '../../bin/webpack-dev-server.js');
791791
const cwd = path.resolve(__dirname, '../fixtures/cli');
792-
const cp = execa('node', [cliPath, '----watch-options-stdin'], { cwd });
792+
const cp = execa('node', [cliPath, '--watch-options-stdin'], { cwd });
793793

794794
let killed = false;
795795

0 commit comments

Comments
 (0)