fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-26 14:34:47 +00:00
parent 0455c34cfa
commit 0917b9dd06

View File

@ -38,7 +38,13 @@ export const testFire = <
if (comparisonResult.divergingProperties.length > 0) {
console.log(`The following properties diverged:`);
console.log(comparisonResult.divergingProperties);
throwErrorBool = true;
for (const divProperty of comparisonResult.divergingProperties) {
if (divProperty !== 'maydiverge') {
throwErrorBool = true;
} else {
console.log(`${divProperty} may diverge, not throwing for this one`);
}
}
}
if (comparisonResult.missingProperties.length > 0) {
console.log(`The following properties diverged:`);