diff --git a/tests/utils/call-cli.js b/tests/utils/call-cli.js index 47e73e4fe10..af18d4610c9 100644 --- a/tests/utils/call-cli.js +++ b/tests/utils/call-cli.js @@ -2,8 +2,13 @@ const execa = require('execa') const cliPath = require('./cli-path') +const CLI_TIMEOUT = 3e5 + const callCli = async function (args, execOptions) { - const { stdout } = await execa(cliPath, args, { windowsHide: true, windowsVerbatimArguments: true, ...execOptions }) + const { stdout } = await execa(cliPath, args, { + timeout: CLI_TIMEOUT, + ...execOptions, + }) return stdout }