UNPKG

alsatian-fluent-assertions

Version:

Fluent assertions extension to Alsatian xUnit framework.

13 lines (12 loc) 547 B
import { IFluentCore } from "./i-fluent-core"; import { EqType } from "../types"; import { ISimpleMatcher } from "./i-simple-matcher"; export interface ISimpleMatcherWithHelpers<T, TNext, TPrev> extends ISimpleMatcher<T, TNext, TPrev> { /** * Compares the contextual value with expected value. * See https://git.io/vptAT. * @param expected The expected value. * @param eqType The comparison type (default: EqType.strictly, ===). */ equals(expected: T, eqType?: EqType): IFluentCore<T, TNext, TPrev>; }