Register a function to be called after each test in the current scope. * * These functions are run in LIFO order (last in, first out). * * If an exception is raised during execution of this hook, the remaining hooks will not be run and the currently running * test case will
(fn: () => void | Promise<void>)
| 1221 | * @category Testing |
| 1222 | */ |
| 1223 | afterEach(fn: () => void | Promise<void>): void; |
| 1224 | |
| 1225 | /** Register a function to be called after all tests in the current scope have finished running. |
| 1226 | * |