Skip to main content

afterEach

@webda/test


Variable: afterEach

const afterEach: {(value, context): void | AnyMethod; (...args): (value, context) => void | AnyMethod; }

Defined in: core.ts:548

Registers the decorated method to run after each test in the suite.

Call Signature​

(value, context): void | AnyMethod

Parameters​

value​

AnyMethod

context​

ClassMethodDecoratorContext

Returns​

void | AnyMethod

Call Signature​

(...args): (value, context) => void | AnyMethod

Parameters​

args​

...[LifecycleSettings]

Returns​

(value, context) => void | AnyMethod