mol_crypto_lib 0.0.903 → 0.0.905
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
|
@@ -2147,7 +2147,7 @@ var $;
|
|
|
2147
2147
|
if ('outerHTML' in val)
|
|
2148
2148
|
return val.outerHTML;
|
|
2149
2149
|
try {
|
|
2150
|
-
return JSON.stringify(val);
|
|
2150
|
+
return JSON.stringify(val, null, '\t');
|
|
2151
2151
|
}
|
|
2152
2152
|
catch (error) {
|
|
2153
2153
|
console.error(error);
|
|
@@ -2194,6 +2194,12 @@ var $;
|
|
|
2194
2194
|
'three must be alike'() {
|
|
2195
2195
|
$mol_assert_like([3], [3], [3]);
|
|
2196
2196
|
},
|
|
2197
|
+
'two object must be alike'() {
|
|
2198
|
+
$mol_assert_like({ a: 1 }, { a: 1 });
|
|
2199
|
+
},
|
|
2200
|
+
'three object must be alike'() {
|
|
2201
|
+
$mol_assert_like({ a: 1 }, { a: 1 }, { a: 1 });
|
|
2202
|
+
},
|
|
2197
2203
|
});
|
|
2198
2204
|
})($ || ($ = {}));
|
|
2199
2205
|
//mol/assert/assert.test.ts
|