Skip to main content

Class: CheckGroup

Extends​

  • BaseClient

Constructors​

Constructor​

new CheckGroup(ctx?, _id?): CheckGroup

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

CheckGroupID

Returns​

CheckGroup

Overrides​

BaseClient.constructor

Methods​

id()​

id(): Promise<CheckGroupID>

A unique identifier for this CheckGroup.

Returns​

Promise<CheckGroupID>


list()​

list(): Promise<Check[]>

Return a list of individual checks and their details

Returns​

Promise<Check[]>


report()​

report(): File

Generate a markdown report

Returns​

File


run()​

run(): CheckGroup

Execute all selected checks

Returns​

CheckGroup


with()​

with(arg): CheckGroup

Call the provided function with current CheckGroup.

This is useful for reusability and readability by not breaking the calling chain.

Parameters​

arg​

(param) => CheckGroup

Returns​

CheckGroup