mol_key 0.0.661 → 0.0.663

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
@@ -412,7 +412,7 @@ var $;
412
412
  if ('outerHTML' in val)
413
413
  return val.outerHTML;
414
414
  try {
415
- return JSON.stringify(val);
415
+ return JSON.stringify(val, null, '\t');
416
416
  }
417
417
  catch (error) {
418
418
  console.error(error);
@@ -459,6 +459,12 @@ var $;
459
459
  'three must be alike'() {
460
460
  $mol_assert_like([3], [3], [3]);
461
461
  },
462
+ 'two object must be alike'() {
463
+ $mol_assert_like({ a: 1 }, { a: 1 });
464
+ },
465
+ 'three object must be alike'() {
466
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
467
+ },
462
468
  });
463
469
  })($ || ($ = {}));
464
470
  //mol/assert/assert.test.ts