assertthat
Version:
assertthat provides fluent TDD.
13 lines (12 loc) • 435 B
TypeScript
import { Diff } from '../Diff';
declare const booleanDiffSymbol: unique symbol;
declare const booleanDiff: (parameters: Omit<BooleanDiff, 'kind'>) => BooleanDiff;
interface BooleanDiff extends Diff {
kind: typeof booleanDiffSymbol;
cost: number;
actual?: boolean;
expected?: boolean;
}
declare const isBooleanDiff: (diff: any) => diff is BooleanDiff;
export type { BooleanDiff };
export { booleanDiff, isBooleanDiff };