(name)
| 45 | } |
| 46 | |
| 47 | function stubValidateAndRunHelp(name) { |
| 48 | let stub = stubValidateAndRun(name); |
| 49 | td.when(stub(), { ignoreExtraArgs: true, times: 1 }).thenReturn('callHelp'); |
| 50 | return stub; |
| 51 | } |
| 52 | |
| 53 | function stubValidateAndRun(name) { |
| 54 | commands[name] = require(`../../../lib/commands/${name}`); |
no test coverage detected
searching dependent graphs…