hyoo_sync_client 0.0.50 → 0.0.51
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.deps.json +1 -1
- package/node.js +2 -0
- package/node.js.map +1 -1
- package/node.mjs +2 -0
- package/node.mjs.map +1 -1
- package/node.test.js +8 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -0
- package/web.js.map +1 -1
- package/web.mjs +2 -0
- package/web.mjs.map +1 -1
- package/web.test.js +6 -1
- package/web.test.js.map +1 -1
package/web.test.js
CHANGED
|
@@ -281,7 +281,7 @@ var $;
|
|
|
281
281
|
$mol_assert_ok($mol_compare_deep(new Uint8Array([0]), new Uint8Array([0])));
|
|
282
282
|
$mol_assert_not($mol_compare_deep(new Uint8Array([0]), new Uint8Array([1])));
|
|
283
283
|
},
|
|
284
|
-
'
|
|
284
|
+
'Serializale'() {
|
|
285
285
|
class User {
|
|
286
286
|
name;
|
|
287
287
|
rand;
|
|
@@ -296,6 +296,11 @@ var $;
|
|
|
296
296
|
$mol_assert_ok($mol_compare_deep(new User('Jin'), new User('Jin')));
|
|
297
297
|
$mol_assert_not($mol_compare_deep(new User('Jin'), new User('John')));
|
|
298
298
|
},
|
|
299
|
+
'Iterable'() {
|
|
300
|
+
$mol_assert_ok($mol_compare_deep(new URLSearchParams({ foo: 'bar' }), new URLSearchParams({ foo: 'bar' })));
|
|
301
|
+
$mol_assert_not($mol_compare_deep(new URLSearchParams({ foo: 'xxx' }), new URLSearchParams({ foo: 'yyy' })));
|
|
302
|
+
$mol_assert_not($mol_compare_deep(new URLSearchParams({ foo: 'xxx', bar: 'yyy' }), new URLSearchParams({ bar: 'yyy', foo: 'xxx' })));
|
|
303
|
+
},
|
|
299
304
|
});
|
|
300
305
|
})($ || ($ = {}));
|
|
301
306
|
//mol/compare/deep/deep.test.tsx
|