()
| 8 | describe('positional options using Command.passThroughOptions() and Command.enablePositionalOptions()', () => { |
| 9 | describe('program with passThrough', () => { |
| 10 | function makeProgram() { |
| 11 | const program = new commander.Command(); |
| 12 | program.passThroughOptions(); |
| 13 | program.option('-d, --debug').argument('<args...>'); |
| 14 | return program; |
| 15 | } |
| 16 | |
| 17 | test('when option before command-argument then option parsed', () => { |
| 18 | const program = makeProgram(); |
no test coverage detected