(fn, timeout)
| 110 | |
| 111 | // Hooks have to pass themselves to the HOF in order for us to trim stack traces. |
| 112 | const beforeEach: THook = (fn, timeout) => |
| 113 | _addHook(fn, 'beforeEach', beforeEach, timeout); |
| 114 | const beforeAll: THook = (fn, timeout) => |
| 115 | _addHook(fn, 'beforeAll', beforeAll, timeout); |
| 116 | const afterEach: THook = (fn, timeout) => |