Lines Matching refs:cli
13 const cli = startCLI([fixtures.path('debugger/break.js')]); constant
16 cli.quit();
20 return cli.waitForInitialBreak()
21 .then(() => cli.waitForPrompt())
22 .then(() => cli.command('watch("x")'))
23 .then(() => cli.command('watch("\\"Hello\\"")'))
24 .then(() => cli.command('watch("42")'))
25 .then(() => cli.command('watch("NaN")'))
26 .then(() => cli.command('watch("true")'))
27 .then(() => cli.command('watch("[1, 2]")'))
28 .then(() => cli.command('watch("process.env")'))
29 .then(() => cli.command('watchers'))
31 assert.match(cli.output, /x is not defined/);
33 .then(() => cli.command('unwatch("42")'))
34 .then(() => cli.stepCommand('n'))
36 assert.match(cli.output, /0: x = 10/);
37 assert.match(cli.output, /1: "Hello" = 'Hello'/);
38 assert.match(cli.output, /2: NaN = NaN/);
39 assert.match(cli.output, /3: true = true/);
40 assert.match(cli.output, /4: \[1, 2\] = \[ 1, 2 \]/);
42 cli.output,
46 .then(() => cli.quit())