( fn: (this: T) => void | Promise<void>, )
| 945 | * `Deno.test.beforeAll()` (Deno 2.5+) instead. |
| 946 | */ |
| 947 | export function before<T>( |
| 948 | fn: (this: T) => void | Promise<void>, |
| 949 | ) { |
| 950 | beforeAll(fn); |
| 951 | } |
| 952 | |
| 953 | /** |
| 954 | * Run some shared teardown after all of the tests in the suite. |