Fix e2e tests

- Due to changes in #567 e2e tests started to fail as
  args where passed with spaces instead of args array.
- Fix all args use so that spawn underneath uses
  plain array with proper args.
This commit is contained in:
Janne Valkealahti
2022-11-25 09:03:20 +00:00
parent a6b84372b2
commit a900fa4977
6 changed files with 28 additions and 28 deletions

View File

@@ -36,7 +36,7 @@ describe('builtin commands', () => {
* test for command help command returns expected info
*/
const commandHelpReturnsInfoDesc = 'command help returns info';
const commandHelpCommand = ['help help'];
const commandHelpCommand = ['help', 'help'];
const commandHelpReturnsInfo = async (cli: Cli) => {
cli.run();
await waitForExpect(async () => {