hyoo_sync_client 0.0.226 → 0.0.228
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 +7 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +7 -1
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -670,7 +670,7 @@ var $;
|
|
|
670
670
|
if ('outerHTML' in val)
|
|
671
671
|
return val.outerHTML;
|
|
672
672
|
try {
|
|
673
|
-
return JSON.stringify(val);
|
|
673
|
+
return JSON.stringify(val, null, '\t');
|
|
674
674
|
}
|
|
675
675
|
catch (error) {
|
|
676
676
|
console.error(error);
|
|
@@ -717,6 +717,12 @@ var $;
|
|
|
717
717
|
'three must be alike'() {
|
|
718
718
|
$mol_assert_like([3], [3], [3]);
|
|
719
719
|
},
|
|
720
|
+
'two object must be alike'() {
|
|
721
|
+
$mol_assert_like({ a: 1 }, { a: 1 });
|
|
722
|
+
},
|
|
723
|
+
'three object must be alike'() {
|
|
724
|
+
$mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
|
|
725
|
+
},
|
|
720
726
|
});
|
|
721
727
|
})($ || ($ = {}));
|
|
722
728
|
//mol/assert/assert.test.ts
|