(cmd)
| 9 | cases.forEach((hasActionHandler) => { |
| 10 | describe(`when ${hasActionHandler ? 'has' : 'no'} action handler`, () => { |
| 11 | function configureCommand(cmd) { |
| 12 | if (hasActionHandler) cmd.action(() => {}); |
| 13 | } |
| 14 | |
| 15 | test('when specify excess program argument then error by default', () => { |
| 16 | const program = createTestCommand(); |
no test coverage detected