UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

12 lines 555 B
/** * This function compares two json-serialisable objects or values, * and returns true if they are deeply equal. It's called `rawEquality` because * it ignores ContractCase's matcher types, with no additional behaviour. * * @param a - one value to compare * @param b - another value to compare * @returns true if `a` is deeply equal to `b`, false otherwise * @throws CaseConfigurationError if the values are not json serialisable. */ export declare const rawEquality: (a: unknown, b: unknown) => boolean; //# sourceMappingURL=rawEquals.d.ts.map