Docs (4.0.0)
class Assertion constructor

new Assertion

Creates a new assertion using given value to test.

constructor(value: any, name?: string)

Note
Use the expect() function to create assertions rather than instantiating this class directly.

Related