( fn: (this: T) => void | Promise<void>, )
| 897 | * @param fn The function to implement the setup behavior. |
| 898 | */ |
| 899 | export function before<T>( |
| 900 | fn: (this: T) => void | Promise<void>, |
| 901 | ) { |
| 902 | beforeAll(fn); |
| 903 | } |
| 904 | |
| 905 | /** |
| 906 | * Run some shared teardown after all of the tests in the suite. |