Interface Suite

Hierarchy

Index

Construct signatures

Properties

Methods

Construct signatures

constructor(env: Env, description: string, specDefinitions: () => void, parentSuite: Suite): any

Parameters

  • env: Env
  • description: string
  • specDefinitions: () => void
  • parentSuite: Suite

Returns

any

Properties

public description: string

public env: Env

public id: number

public parentSuite: Suite

public queue: Queue

Methods

public add(suiteOrSpec: SuiteOrSpec)

Parameters

public afterEach(afterEachFunction: SpecFunction)

Parameters

public beforeEach(beforeEachFunction: SpecFunction)

Parameters

public children(): Array<any>

Returns

Array<any>

public execute(onComplete?: () => void)

Parameters

  • onComplete?: () => void optional

public finish(onComplete?: () => void)

Parameters

  • onComplete?: () => void optional

public getFullName(): string

Returns

string

public results(): NestedResults

Returns

NestedResults

public specs(): Spec[]

Returns

Spec[]

public suites(): Suite[]

Returns

Suite[]