mol_mutable 0.0.319 → 0.0.321

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
@@ -1298,7 +1298,7 @@ var $;
1298
1298
  if ('outerHTML' in val)
1299
1299
  return val.outerHTML;
1300
1300
  try {
1301
- return JSON.stringify(val);
1301
+ return JSON.stringify(val, null, '\t');
1302
1302
  }
1303
1303
  catch (error) {
1304
1304
  console.error(error);
@@ -1345,6 +1345,12 @@ var $;
1345
1345
  'three must be alike'() {
1346
1346
  $mol_assert_like([3], [3], [3]);
1347
1347
  },
1348
+ 'two object must be alike'() {
1349
+ $mol_assert_like({ a: 1 }, { a: 1 });
1350
+ },
1351
+ 'three object must be alike'() {
1352
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
1353
+ },
1348
1354
  });
1349
1355
  })($ || ($ = {}));
1350
1356
  //mol/assert/assert.test.ts