mol_time_all 1.1.769 → 1.1.771
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
|
@@ -1887,7 +1887,7 @@ var $;
|
|
|
1887
1887
|
if ('outerHTML' in val)
|
|
1888
1888
|
return val.outerHTML;
|
|
1889
1889
|
try {
|
|
1890
|
-
return JSON.stringify(val);
|
|
1890
|
+
return JSON.stringify(val, null, '\t');
|
|
1891
1891
|
}
|
|
1892
1892
|
catch (error) {
|
|
1893
1893
|
console.error(error);
|
|
@@ -1934,6 +1934,12 @@ var $;
|
|
|
1934
1934
|
'three must be alike'() {
|
|
1935
1935
|
$mol_assert_like([3], [3], [3]);
|
|
1936
1936
|
},
|
|
1937
|
+
'two object must be alike'() {
|
|
1938
|
+
$mol_assert_like({ a: 1 }, { a: 1 });
|
|
1939
|
+
},
|
|
1940
|
+
'three object must be alike'() {
|
|
1941
|
+
$mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
|
|
1942
|
+
},
|
|
1937
1943
|
});
|
|
1938
1944
|
})($ || ($ = {}));
|
|
1939
1945
|
//mol/assert/assert.test.ts
|