mol_jsx_lib 0.0.658 → 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/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
|
@@ -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
|