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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-tdd",
3
3
  "type": "module",
4
- "version": "5.2.1",
4
+ "version": "5.2.2",
5
5
  "description": "Drop in extension for mocha to abstract commonly used test setups",
6
6
  "main": "lib/index.js",
7
7
  "scripts": {