()
| 27 | } |
| 28 | |
| 29 | load() { |
| 30 | return this._getHooks().then(hooks => { |
| 31 | hooks = hooks || []; |
| 32 | hooks.forEach(hook => { |
| 33 | this.addHookToTriggers(hook); |
| 34 | }); |
| 35 | }); |
| 36 | } |
| 37 | |
| 38 | getFunction(functionName) { |
| 39 | return this._getHooks({ functionName: functionName }).then(results => results[0]); |
no test coverage detected