( fn: (this: T) => void | Promise<void>, )
| 1015 | * @param fn The function to implement the shared teardown behavior |
| 1016 | */ |
| 1017 | export function afterEach<T>( |
| 1018 | fn: (this: T) => void | Promise<void>, |
| 1019 | ) { |
| 1020 | addHook("afterEach", fn); |
| 1021 | } |
| 1022 | |
| 1023 | /** The arguments for a DescribeFunction. */ |
| 1024 | export type DescribeArgs<T> = |