(message)
| 41 | } |
| 42 | |
| 43 | skip(message) { |
| 44 | if (message && typeof message !== 'string') { |
| 45 | throw new TypeError(`Expected \`message\` to be of type \`string\`, got \`${typeof message}\``); |
| 46 | } |
| 47 | |
| 48 | if (message) { |
| 49 | this._task.output = message; |
| 50 | } |
| 51 | |
| 52 | this._task.state = state.SKIPPED; |
| 53 | } |
| 54 | |
| 55 | run(ctx) { |
| 56 | return this._task.run(ctx, this); |
no outgoing calls
no test coverage detected