node-tdd 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,12 +20,7 @@ const healer = objectScan(['**.*|*'], {
|
|
|
20
20
|
const parentActual = context.actual[depth - 1];
|
|
21
21
|
const childExpected = parentExpected?.[k];
|
|
22
22
|
const childActual = parentActual?.[k];
|
|
23
|
-
if (
|
|
24
|
-
parentActual !== undefined
|
|
25
|
-
&& !(childExpected instanceof Object)
|
|
26
|
-
&& !(childActual instanceof Object)
|
|
27
|
-
&& childExpected === childActual
|
|
28
|
-
) {
|
|
23
|
+
if (childExpected === childActual) {
|
|
29
24
|
delete parentActual[k];
|
|
30
25
|
parentActual[property] = value;
|
|
31
26
|
}
|