mol_db 0.0.840 → 0.0.841

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
@@ -2059,7 +2059,7 @@ var $;
2059
2059
  if ('outerHTML' in val)
2060
2060
  return val.outerHTML;
2061
2061
  try {
2062
- return JSON.stringify(val);
2062
+ return JSON.stringify(val, null, '\t');
2063
2063
  }
2064
2064
  catch (error) {
2065
2065
  console.error(error);
@@ -2106,6 +2106,12 @@ var $;
2106
2106
  'three must be alike'() {
2107
2107
  $mol_assert_like([3], [3], [3]);
2108
2108
  },
2109
+ 'two object must be alike'() {
2110
+ $mol_assert_like({ a: 1 }, { a: 1 });
2111
+ },
2112
+ 'three object must be alike'() {
2113
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
2114
+ },
2109
2115
  });
2110
2116
  })($ || ($ = {}));
2111
2117
  //mol/assert/assert.test.ts