assertthat
Version:
assertthat provides fluent TDD.
12 lines (11 loc) • 432 B
TypeScript
import { Diff } from '../Diff';
import { ObjectDiff } from '../forObjects/ObjectDiff';
declare const errorDiffSymbol: unique symbol;
declare const errorDiff: (parameters: Omit<ErrorDiff, 'kind'>) => ErrorDiff;
interface ErrorDiff extends Diff {
kind: typeof errorDiffSymbol;
objectDiff: ObjectDiff;
}
declare const isErrorDiff: (diff: any) => diff is ErrorDiff;
export type { ErrorDiff };
export { isErrorDiff, errorDiff };