mol_compare_deep 0.0.677 → 0.0.679

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.
package/node.test.js CHANGED
@@ -497,7 +497,7 @@ var $;
497
497
  if ('outerHTML' in val)
498
498
  return val.outerHTML;
499
499
  try {
500
- return JSON.stringify(val);
500
+ return JSON.stringify(val, null, '\t');
501
501
  }
502
502
  catch (error) {
503
503
  console.error(error);
@@ -544,6 +544,12 @@ var $;
544
544
  'three must be alike'() {
545
545
  $mol_assert_like([3], [3], [3]);
546
546
  },
547
+ 'two object must be alike'() {
548
+ $mol_assert_like({ a: 1 }, { a: 1 });
549
+ },
550
+ 'three object must be alike'() {
551
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
552
+ },
547
553
  });
548
554
  })($ || ($ = {}));
549
555
  //mol/assert/assert.test.ts