From 0917b9dd06debaf3478f47d977580a324891782e Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 26 Jul 2020 14:34:47 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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:`);