Interface LifecycleHandlers

interface LifecycleHandlers {
    after?: LifecycleHandler;
    afterEach?: LifecycleHandler;
    before?: LifecycleHandler;
    beforeEach?: LifecycleHandler;
}

Hierarchy (view full)

Properties

Lifecycle hook to cleanup user state and/or execute side effects after all test cases in the group.

afterEach?: LifecycleHandler

Lifecycle hook to cleanup user state and/or execute side effects after each test case in the group.

Lifecycle hook to prepare user state and/or execute side effects before all test cases in the group.

beforeEach?: LifecycleHandler

Lifecycle hook to prepare/reset user state and/or execute side effects before each test case in the group.

Generated using TypeDoc