mol_text_distance 0.0.581 → 0.0.583
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
|
@@ -1315,7 +1315,7 @@ var $;
|
|
|
1315
1315
|
if ('outerHTML' in val)
|
|
1316
1316
|
return val.outerHTML;
|
|
1317
1317
|
try {
|
|
1318
|
-
return JSON.stringify(val);
|
|
1318
|
+
return JSON.stringify(val, null, '\t');
|
|
1319
1319
|
}
|
|
1320
1320
|
catch (error) {
|
|
1321
1321
|
console.error(error);
|
|
@@ -1362,6 +1362,12 @@ var $;
|
|
|
1362
1362
|
'three must be alike'() {
|
|
1363
1363
|
$mol_assert_like([3], [3], [3]);
|
|
1364
1364
|
},
|
|
1365
|
+
'two object must be alike'() {
|
|
1366
|
+
$mol_assert_like({ a: 1 }, { a: 1 });
|
|
1367
|
+
},
|
|
1368
|
+
'three object must be alike'() {
|
|
1369
|
+
$mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
|
|
1370
|
+
},
|
|
1365
1371
|
});
|
|
1366
1372
|
})($ || ($ = {}));
|
|
1367
1373
|
//mol/assert/assert.test.ts
|