diff --git a/ts/index.ts b/ts/index.ts index b5ac607..f467bda 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -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:`);