mol_jsx_lib 0.0.659 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_jsx_lib",
3
- "version": "0.0.659",
3
+ "version": "0.0.660",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.test.js CHANGED
@@ -194,7 +194,7 @@ var $;
194
194
  if ('outerHTML' in val)
195
195
  return val.outerHTML;
196
196
  try {
197
- return JSON.stringify(val);
197
+ return JSON.stringify(val, null, '\t');
198
198
  }
199
199
  catch (error) {
200
200
  console.error(error);
@@ -241,6 +241,12 @@ var $;
241
241
  'three must be alike'() {
242
242
  $mol_assert_like([3], [3], [3]);
243
243
  },
244
+ 'two object must be alike'() {
245
+ $mol_assert_like({ a: 1 }, { a: 1 });
246
+ },
247
+ 'three object must be alike'() {
248
+ $mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
249
+ },
244
250
  });
245
251
  })($ || ($ = {}));
246
252
  //mol/assert/assert.test.ts