Constructors
Protected constructor
-
Methods
Static assert
- assert(assertion: unknown, message?: string): assertsassertion
-
Parameters
-
assertion: unknown
-
Optional message: string
Returns assertsassertion
Static inspect
-
Parameters
Returns string
Static wait
- wait(timeout: number): Promise<void>
-
Parameters
Returns Promise<void>
Static waitFor
- waitFor(callback: () => boolean, timeout?: number): Promise<void>
-
Parameters
-
callback: () => boolean
-
Optional timeout: number
Returns Promise<void>
Returns a string representation of
value
that is intended for debugging.Proxy or promise details (returned value, status) are not supported.