(name, opts = {})
| 27 | } |
| 28 | |
| 29 | addRecipe(name, opts = {}) { |
| 30 | if (!opts.priority) opts.priority = 0 |
| 31 | |
| 32 | if (!opts.fn) throw new Error(`Recipe ${name} should have a function 'fn' to execute`) |
| 33 | |
| 34 | this.recipes[name] = opts |
| 35 | } |
| 36 | |
| 37 | connectToEvents() { |
| 38 | event.dispatcher.on(event.suite.before, suite => { |
no outgoing calls
no test coverage detected