Functions

Static Public Summary
public

and(expectations: Array): Expectation

public

contain(expected: Answerable): Expectation

public
public
public

endsWith(expected: Answerable): Expectation

public

equals(expectedValue: Answerable): Expectation

public

includes(expected: Answerable): Expectation

public

isAfter(expected: Answerable): Expectation

public

isBefore(expected: Answerable): Expectation

public
public

isGreaterThan(expected: Answerable): Expectation

public

isLessThan(expected: Answerable): Expectation

public
public

matches(expected: Answerable): Expectation

public

not(assertion: Expectation): Expectation

public

or(assertions: Array): Expectation

public

property(propertyName: Property, expectation: Expectation): Expectation

public

startsWith(expected: Answerable): Expectation

Static Public

public contain(expected: Answerable): Expectation source

import {contain} from '@serenity-js/assertions/lib/expectations'

Params:

NameTypeAttributeDescription
expected Answerable

Returns:

Expectation

public isAfter(expected: Answerable): Expectation source

import {isAfter} from '@serenity-js/assertions/lib/expectations'

Params:

NameTypeAttributeDescription
expected Answerable

Returns:

Expectation

public isBefore(expected: Answerable): Expectation source

import {isBefore} from '@serenity-js/assertions/lib/expectations'

Params:

NameTypeAttributeDescription
expected Answerable

Returns:

Expectation

public matches(expected: Answerable): Expectation source

import {matches} from '@serenity-js/assertions/lib/expectations'

Params:

NameTypeAttributeDescription
expected Answerable

Returns:

Expectation

public property(propertyName: Property, expectation: Expectation): Expectation source

import {property} from '@serenity-js/assertions/lib/expectations'

Params:

NameTypeAttributeDescription
propertyName Property
expectation Expectation

Returns:

Expectation