()
| 116 | }, |
| 117 | |
| 118 | beforeEach() { |
| 119 | if (typeof arguments[0] !== 'function') { |
| 120 | throw new TypeError( |
| 121 | 'Invalid first argument. It must be a callback function.', |
| 122 | ); |
| 123 | } |
| 124 | return env.beforeEach.apply(env, arguments); |
| 125 | }, |
| 126 | |
| 127 | afterEach() { |
| 128 | if (typeof arguments[0] !== 'function') { |
no test coverage detected