fix(core): update
This commit is contained in:
parent
0455c34cfa
commit
0917b9dd06
@ -38,7 +38,13 @@ export const testFire = <
|
|||||||
if (comparisonResult.divergingProperties.length > 0) {
|
if (comparisonResult.divergingProperties.length > 0) {
|
||||||
console.log(`The following properties diverged:`);
|
console.log(`The following properties diverged:`);
|
||||||
console.log(comparisonResult.divergingProperties);
|
console.log(comparisonResult.divergingProperties);
|
||||||
|
for (const divProperty of comparisonResult.divergingProperties) {
|
||||||
|
if (divProperty !== 'maydiverge') {
|
||||||
throwErrorBool = true;
|
throwErrorBool = true;
|
||||||
|
} else {
|
||||||
|
console.log(`${divProperty} may diverge, not throwing for this one`);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (comparisonResult.missingProperties.length > 0) {
|
if (comparisonResult.missingProperties.length > 0) {
|
||||||
console.log(`The following properties diverged:`);
|
console.log(`The following properties diverged:`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user