Skip to main content

beforeAll

@webda/test


Variable: beforeAll

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

Defined in: core.ts:544

Registers the decorated method to run once before all tests 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