()
| 14 | describe('parsing regression tests', () => { |
| 15 | // https://github.com/tj/commander.js/issues/1032 |
| 16 | function createProgram1032() { |
| 17 | const program = new commander.Command(); |
| 18 | program |
| 19 | .command('doit [id]') |
| 20 | .option('--better', 'do it better') |
| 21 | .action((id, cmd) => {}); |
| 22 | return program; |
| 23 | } |
| 24 | |
| 25 | // https://github.com/tj/commander.js/issues/1032 |
| 26 | test('when specify subcommand and argument then program.args not empty', () => { |
no test coverage detected