mol_jsx_lib 0.0.658 → 0.0.660

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
@@ -2912,7 +2912,7 @@ var $;
2912
2912
  if ('outerHTML' in val)
2913
2913
  return val.outerHTML;
2914
2914
  try {
2915
- return JSON.stringify(val);
2915
+ return JSON.stringify(val, null, '\t');
2916
2916
  }
2917
2917
  catch (error) {
2918
2918
  console.error(error);
@@ -2959,6 +2959,12 @@ var $;
2959
2959
  'three must be alike'() {
2960
2960
  $mol_assert_like([3], [3], [3]);
2961
2961
  },
2962
+ 'two object must be alike'() {
2963
+ $mol_assert_like({ a: 1 }, { a: 1 });
2964
+ },
2965
+ 'three object must be alike'() {
2966
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
2967
+ },
2962
2968
  });
2963
2969
  })($ || ($ = {}));
2964
2970
  //mol/assert/assert.test.ts