heck.1.10.0-beta.1.source-code.default-recheck.ignore.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recheck Show documentation
Show all versions of recheck Show documentation
Replace traditional assertions with a single check.
// Here you can implement ignore rules for recheck in JavaScript.
// Please do not delete this file, even if it is empty.
// You can implement either of these two functions:
// function matches(element) {}
// function matches(element, diff) {}
// For example, to ignore everything behind an URL after '?':
//var baseUrl = /http[s]?:\/\/[\w.:\d\-]*/;
//
//function matches(element, diff) {
// if (diff.expected != null && diff.actual != null) {
// expected = new String(diff.expected);
// actual = new String(diff.actual);
// cleanExpected = expected.replace(baseUrl, '');
// cleanActual = actual.replace(baseUrl, '');
// return cleanExpected === cleanActual;
// }
// return false;
//}
// You can find more details and example rules at:
// https://docs.retest.de/recheck/how-ignore-works/
© 2015 - 2025 Weber Informatics LLC | Privacy Policy