Skip to content

Commit

Permalink
test: fix stdin test (#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored May 22, 2021
1 parent e99033d commit 15234fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ describe('CLI', () => {
it('should exit the process when stdin ends if --watch-options-stdin, even before the compilation is done', (done) => {
const cliPath = path.resolve(__dirname, '../../bin/webpack-dev-server.js');
const cwd = path.resolve(__dirname, '../fixtures/cli');
const cp = execa('node', [cliPath, '----watch-options-stdin'], { cwd });
const cp = execa('node', [cliPath, '--watch-options-stdin'], { cwd });

let killed = false;

Expand Down

0 comments on commit 15234fb

Please sign in to comment.