testLab.TestMatrixBuilder class

Builder used to create Cloud Functions for Test Lab test matrices events.

Signature:

export declare class TestMatrixBuilder 

Methods

Method Modifiers Description
onComplete(handler) Handle a TestMatrix that reached a final test state.

testLab.TestMatrixBuilder.onComplete()

Handle a TestMatrix that reached a final test state.

Signature:

onComplete(handler: (testMatrix: TestMatrix, context: EventContext) => PromiseLike<any> | any): CloudFunction<TestMatrix>;

Parameters

Parameter Type Description
handler (testMatrix: TestMatrix, context: EventContext) => PromiseLike<any> | any

Returns:

CloudFunction<TestMatrix>