beforeAll
Sets a callback that’s called before the first test in this scope.
beforeAll(f: (scope: TestScope) => void | Promise<void>): void
Parameters
- f — The function to be called. The TestScope instance is passed as the only argument.
Related
- class TestScopeA class that represents a test scope, containing a number of test cases.