From 15234fb06bf944ec6cb4c632635a9ab0aaae67bf Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sat, 22 May 2021 18:48:39 +0530 Subject: [PATCH] test: fix stdin test (#3327) --- test/cli/cli.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cli/cli.test.js b/test/cli/cli.test.js index f61b7eade1..bc25838300 100644 --- a/test/cli/cli.test.js +++ b/test/cli/cli.test.js @@ -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;