Docs (4.0.0)
class TestScope method

afterAll

Sets a callback that’s called after the last test in this scope.

afterAll(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.