()
| 9 | // boolean option combo with no default |
| 10 | describe('positive option with no default', () => { |
| 11 | function createPepperProgram() { |
| 12 | const program = new commander.Command(); |
| 13 | program |
| 14 | .option('-p, --pepper', 'add pepper') |
| 15 | .option('-P, --no-pepper', 'remove pepper'); |
| 16 | return program; |
| 17 | } |
| 18 | |
| 19 | test('when option not specified then value is undefined', () => { |
| 20 | const program = createPepperProgram(); |
no test coverage detected