alsatian-fluent-assertions
Version:
Fluent assertions extension to Alsatian xUnit framework.
15 lines (14 loc) • 877 B
TypeScript
import { IOperators } from "./i-operators";
import { FluentMatcherBase } from "./fluent-matcher-base";
import { IFluentCore } from "./i-fluent-core";
import { INarrowableOperators } from "./i-narrowable-operators";
import { AssertionContext } from "../types";
export declare class Operators<T, TNext, TPrev> extends FluentMatcherBase implements IOperators<T, TNext, TPrev>, INarrowableOperators<TNext, T, TPrev> {
constructor(actualValue: any, nextValue: any, initial: boolean, prevCore?: IFluentCore<any, any, any>, ctxt?: AssertionContext);
readonly not: IFluentCore<T, TNext, TPrev>;
maybe(verbatim: boolean): IFluentCore<T, TNext, TPrev>;
readonly lastContextualValue: T;
readonly kThx: IFluentCore<TPrev, T, void>;
readonly that: IFluentCore<TNext, void, T>;
forReason(reason: string, data?: any): IFluentCore<T, TNext, TPrev>;
}