()
| 72 | } |
| 73 | |
| 74 | function update() { |
| 75 | const init = maybeFastPath(hooks.init, initAll); |
| 76 | const before = maybeFastPath(hooks.before, beforeAll); |
| 77 | const after = maybeFastPath(hooks.after, afterAll); |
| 78 | const settled = maybeFastPath(hooks.settled, settledAll); |
| 79 | setPromiseHooks(init, before, after, settled); |
| 80 | } |
| 81 | |
| 82 | function stop(list, hook) { |
| 83 | const index = ArrayPrototypeIndexOf(list, hook); |
no test coverage detected