function Test.equals
equals<
T extends Testing,
V,
>
(
value: V,
info?: string | Error,
): Step<T, unknown>

Confirm that return value of previous test step is deeply, strictly equal to expected value.

Type Parameters

T extends Testing

Parameters

value: V
optional
info: string | Error

Return Type

Step<T, unknown>

Usage

import { Test } from ".";