(doneOrPayload, done, doneValue)
| 7 | process.removeAllListeners('warning') |
| 8 | |
| 9 | function endRouteHook (doneOrPayload, done, doneValue) { |
| 10 | if (typeof doneOrPayload === 'function') { |
| 11 | doneOrPayload(doneValue) |
| 12 | } else { |
| 13 | done(doneValue) |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | function testExecutionHook (hook) { |
| 18 | test(`${hook}`, (t, testDone) => { |
no test coverage detected