jest-allure2-reporter
Version:
Idiomatic Jest reporter for Allure Framework
19 lines • 477 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = shallowEqualArrays;
function shallowEqualArrays(a, b) {
if (a === b) {
return true;
}
if (a == null || b == null) {
return false;
}
if (a.length !== b.length) {
return false;
}
return a.every(isItemEqual, b);
}
function isItemEqual(value, index) {
return value === this[index];
}
//# sourceMappingURL=shallowEqualArrays.js.map