()
| 119 | } |
| 120 | |
| 121 | function registerStopFailureHook() { |
| 122 | registerHookCallbacks({ |
| 123 | StopFailure: [ |
| 124 | { |
| 125 | hooks: [ |
| 126 | { |
| 127 | type: 'callback', |
| 128 | callback: async input => { |
| 129 | stopFailureHookCalls.push(input) |
| 130 | return {} |
| 131 | }, |
| 132 | }, |
| 133 | ], |
| 134 | }, |
| 135 | ], |
| 136 | }) |
| 137 | } |
| 138 | |
| 139 | function createDeps( |
| 140 | callModel: ( |
no test coverage detected