Lines Matching refs:cli
16 const cli = startCLI([script]); constant
19 cli.quit();
23 cli.waitForInitialBreak()
24 .then(() => cli.waitForPrompt())
25 .then(() => cli.stepCommand('n'))
28 cli.output.includes(`break in ${script}:2`),
32 .then(() => cli.command('cont'))
33 .then(() => cli.waitFor(/disconnect/))
36 cli.output,
42 return cli.command('kill');
44 .then(() => cli.command('cont'))
45 .then(() => cli.waitFor(/start the app/))
47 assert.match(cli.output, /Use `run` to start the app again/);
49 .then(() => cli.stepCommand('run'))
50 .then(() => cli.waitForInitialBreak())
51 .then(() => cli.waitForPrompt())
54 cli.breakInfo,
58 .then(() => cli.stepCommand('n'))
61 cli.breakInfo,
65 .then(() => cli.stepCommand('restart'))
66 .then(() => cli.waitForInitialBreak())
69 cli.breakInfo,
73 .then(() => cli.command('kill'))
74 .then(() => cli.command('cont'))
75 .then(() => cli.waitFor(/start the app/))
77 assert.match(cli.output, /Use `run` to start the app again/);
79 .then(() => cli.stepCommand('run'))
80 .then(() => cli.waitForInitialBreak())
81 .then(() => cli.waitForPrompt())
84 cli.breakInfo,
88 .then(() => cli.quit())