(/** @type {unknown[]} */ ...args)
| 140 | }); |
| 141 | }, |
| 142 | afterEach(/** @type {unknown[]} */ ...args) { |
| 143 | if (runTests >= numberOfTests) { |
| 144 | throw new Error("afterEach called too late"); |
| 145 | } |
| 146 | args[0] = createDisposableFn(/** @type {AnyFn | undefined} */ (args[0])); |
| 147 | inSuite(() => { |
| 148 | // @ts-expect-error expected |
| 149 | afterEach(...args); |
| 150 | fixAsyncError( |
| 151 | currentDescribeBlock.hooks[currentDescribeBlock.hooks.length - 1] |
| 152 | ); |
| 153 | }); |
| 154 | } |
| 155 | }; |
| 156 | }; |
no test coverage detected