code-equality-assertions
Version:
Test assertion library for checking the contents of strings of Javascript.
15 lines (13 loc) • 382 B
text/typescript
declare function codeEqual(actual: string, expected: string): {
result: true;
diff: undefined;
standardActual: undefined;
standardExpected: undefined;
} | {
result: false;
diff: string;
standardExpected: string;
standardActual: string;
};
declare function codeContains(actual: string, expected: string): boolean;
export { codeContains, codeEqual };