ossplz/alsatian-fluent-assertions

View on GitHub
src/matchers/i-simple-matcher-with-helpers.ts

Summary

Maintainability
A
0 mins
Test Coverage
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>;
}