mol_wire_lib 1.0.791 → 1.0.792
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/node.test.js
CHANGED
|
@@ -3342,7 +3342,7 @@ var $;
|
|
|
3342
3342
|
if ('outerHTML' in val)
|
|
3343
3343
|
return val.outerHTML;
|
|
3344
3344
|
try {
|
|
3345
|
-
return JSON.stringify(val);
|
|
3345
|
+
return JSON.stringify(val, null, '\t');
|
|
3346
3346
|
}
|
|
3347
3347
|
catch (error) {
|
|
3348
3348
|
console.error(error);
|
|
@@ -3389,6 +3389,12 @@ var $;
|
|
|
3389
3389
|
'three must be alike'() {
|
|
3390
3390
|
$mol_assert_like([3], [3], [3]);
|
|
3391
3391
|
},
|
|
3392
|
+
'two object must be alike'() {
|
|
3393
|
+
$mol_assert_like({ a: 1 }, { a: 1 });
|
|
3394
|
+
},
|
|
3395
|
+
'three object must be alike'() {
|
|
3396
|
+
$mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
|
|
3397
|
+
},
|
|
3392
3398
|
});
|
|
3393
3399
|
})($ || ($ = {}));
|
|
3394
3400
|
//mol/assert/assert.test.ts
|