mol_mutable 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/web.test.js CHANGED
@@ -1,6 +1,24 @@
1
1
  "use strict";
2
2
  function require( path ){ return $node[ path ] };
3
3
  "use strict";
4
+ //mol/type/error/error.ts
5
+ ;
6
+ "use strict";
7
+ //mol/type/assert/assert.ts
8
+ ;
9
+ "use strict";
10
+ //mol/type/assert/assert.test.ts
11
+ ;
12
+ "use strict";
13
+ //mol/type/equals/equals.ts
14
+ ;
15
+ "use strict";
16
+ //mol/type/equals/equals.test.ts
17
+ ;
18
+ "use strict";
19
+ //mol/type/immutable/deep/deep/deep.test.ts
20
+ ;
21
+ "use strict";
4
22
  var $;
5
23
  (function ($) {
6
24
  function $mol_fail(error) {
@@ -185,115 +203,10 @@ var $;
185
203
  //mol/dom/render/children/children.ts
186
204
  ;
187
205
  "use strict";
188
- //mol/type/error/error.ts
189
- ;
190
- "use strict";
191
- //mol/type/assert/assert.test.ts
192
- ;
193
- "use strict";
194
- //mol/type/assert/assert.ts
195
- ;
196
- "use strict";
197
- //mol/type/equals/equals.test.ts
198
- ;
199
- "use strict";
200
- //mol/type/equals/equals.ts
201
- ;
202
- "use strict";
203
- //mol/type/partial/deep/deep.test.ts
204
- ;
205
- "use strict";
206
206
  //mol/type/partial/deep/deep.ts
207
207
  ;
208
208
  "use strict";
209
- var $;
210
- (function ($) {
211
- $mol_test({
212
- 'Make empty div'() {
213
- $mol_assert_equal(($mol_jsx("div", null)).outerHTML, '<div></div>');
214
- },
215
- 'Define native field'() {
216
- const dom = $mol_jsx("input", { value: '123' });
217
- $mol_assert_equal(dom.outerHTML, '<input value="123">');
218
- $mol_assert_equal(dom.value, '123');
219
- },
220
- 'Define classes'() {
221
- const dom = $mol_jsx("div", { class: 'foo bar' });
222
- $mol_assert_equal(dom.outerHTML, '<div class="foo bar"></div>');
223
- },
224
- 'Define styles'() {
225
- const dom = $mol_jsx("div", { style: { color: 'red' } });
226
- $mol_assert_equal(dom.outerHTML, '<div style="color: red;"></div>');
227
- },
228
- 'Define dataset'() {
229
- const dom = $mol_jsx("div", { dataset: { foo: 'bar' } });
230
- $mol_assert_equal(dom.outerHTML, '<div data-foo="bar"></div>');
231
- },
232
- 'Define attributes'() {
233
- const dom = $mol_jsx("div", { lang: "ru", hidden: true });
234
- $mol_assert_equal(dom.outerHTML, '<div lang="ru" hidden=""></div>');
235
- },
236
- 'Define child nodes'() {
237
- const dom = $mol_jsx("div", null,
238
- "hello",
239
- $mol_jsx("strong", null, "world"),
240
- "!");
241
- $mol_assert_equal(dom.outerHTML, '<div>hello<strong>world</strong>!</div>');
242
- },
243
- 'Function as component'() {
244
- const Button = (props, target) => {
245
- return $mol_jsx("button", { title: props.hint }, target());
246
- };
247
- const dom = $mol_jsx(Button, { id: "foo", hint: "click me" }, () => 'hey!');
248
- $mol_assert_equal(dom.outerHTML, '<button id="foo" title="click me" class="Button">hey!</button>');
249
- },
250
- 'Nested guid generation'() {
251
- const Foo = () => {
252
- return $mol_jsx("div", null,
253
- $mol_jsx(Bar, { id: "bar" },
254
- $mol_jsx("img", { id: "icon" })));
255
- };
256
- const Bar = (props, icon) => {
257
- return $mol_jsx("span", null,
258
- icon,
259
- $mol_jsx("i", { id: "label" }));
260
- };
261
- const dom = $mol_jsx(Foo, { id: "foo" });
262
- $mol_assert_equal(dom.outerHTML, '<div id="foo" class="Foo"><span id="foo/bar" class="Foo_bar Bar"><img id="foo/icon" class="Foo_icon"><i id="foo/bar/label" class="Foo_bar_label Bar_label"></i></span></div>');
263
- },
264
- 'Fail on non unique ids'() {
265
- const App = () => {
266
- return $mol_jsx("div", null,
267
- $mol_jsx("span", { id: "bar" }),
268
- $mol_jsx("span", { id: "bar" }));
269
- };
270
- $mol_assert_fail(() => $mol_jsx(App, { id: "foo" }), 'JSX already has tag with id "foo/bar"');
271
- },
272
- 'Owner based guid generationn'() {
273
- const Foo = () => {
274
- return $mol_jsx("div", null,
275
- $mol_jsx(Bar, { id: "middle", icon: () => $mol_jsx("img", { id: "icon" }) }));
276
- };
277
- const Bar = (props) => {
278
- return $mol_jsx("span", null, props.icon());
279
- };
280
- const dom = $mol_jsx(Foo, { id: "app" });
281
- $mol_assert_equal(dom.outerHTML, '<div id="app" class="Foo"><span id="app/middle" class="Foo_middle Bar"><img id="app/icon" class="Foo_icon"></span></div>');
282
- },
283
- 'Fail on same ids from different caller'() {
284
- const Foo = () => {
285
- return $mol_jsx("div", null,
286
- $mol_jsx("img", { id: "icon" }),
287
- $mol_jsx(Bar, { id: "bar", icon: () => $mol_jsx("img", { id: "icon" }) }));
288
- };
289
- const Bar = (props) => {
290
- return $mol_jsx("span", null, props.icon());
291
- };
292
- $mol_assert_fail(() => $mol_jsx(Foo, { id: "foo" }), 'JSX already has tag with id "foo/icon"');
293
- },
294
- });
295
- })($ || ($ = {}));
296
- //mol/jsx/jsx.test.tsx
209
+ //mol/type/partial/deep/deep.test.ts
297
210
  ;
298
211
  "use strict";
299
212
  var $;
@@ -420,97 +333,91 @@ var $;
420
333
  var $;
421
334
  (function ($) {
422
335
  $mol_test({
423
- 'nulls & undefineds'() {
424
- $mol_assert_ok($mol_compare_deep(null, null));
425
- $mol_assert_ok($mol_compare_deep(undefined, undefined));
426
- $mol_assert_not($mol_compare_deep(undefined, null));
427
- $mol_assert_not($mol_compare_deep({}, null));
428
- },
429
- 'number'() {
430
- $mol_assert_ok($mol_compare_deep(1, 1));
431
- $mol_assert_ok($mol_compare_deep(Number.NaN, Number.NaN));
432
- $mol_assert_not($mol_compare_deep(1, 2));
433
- $mol_assert_ok($mol_compare_deep(Object(1), Object(1)));
434
- $mol_assert_not($mol_compare_deep(Object(1), Object(2)));
336
+ 'Make empty div'() {
337
+ $mol_assert_equal(($mol_jsx("div", null)).outerHTML, '<div></div>');
435
338
  },
436
- 'POJO'() {
437
- $mol_assert_ok($mol_compare_deep({}, {}));
438
- $mol_assert_not($mol_compare_deep({ a: 1 }, { b: 2 }));
439
- $mol_assert_not($mol_compare_deep({ a: 1 }, { a: 2 }));
440
- $mol_assert_not($mol_compare_deep({}, { a: undefined }));
441
- $mol_assert_ok($mol_compare_deep({ a: 1, b: 2 }, { b: 2, a: 1 }));
442
- $mol_assert_ok($mol_compare_deep({ a: { b: 1 } }, { a: { b: 1 } }));
339
+ 'Define native field'() {
340
+ const dom = $mol_jsx("input", { value: '123' });
341
+ $mol_assert_equal(dom.outerHTML, '<input value="123">');
342
+ $mol_assert_equal(dom.value, '123');
443
343
  },
444
- 'Array'() {
445
- $mol_assert_ok($mol_compare_deep([], []));
446
- $mol_assert_ok($mol_compare_deep([1, [2]], [1, [2]]));
447
- $mol_assert_not($mol_compare_deep([1, 2], [1, 3]));
448
- $mol_assert_not($mol_compare_deep([1, 2,], [1, 3, undefined]));
344
+ 'Define classes'() {
345
+ const dom = $mol_jsx("div", { class: 'foo bar' });
346
+ $mol_assert_equal(dom.outerHTML, '<div class="foo bar"></div>');
449
347
  },
450
- 'Non POJO are different'() {
451
- class Thing extends Object {
452
- }
453
- $mol_assert_not($mol_compare_deep(new Thing, new Thing));
454
- $mol_assert_not($mol_compare_deep(() => 1, () => 1));
455
- $mol_assert_not($mol_compare_deep(new RangeError('Test error'), new RangeError('Test error')));
348
+ 'Define styles'() {
349
+ const dom = $mol_jsx("div", { style: { color: 'red' } });
350
+ $mol_assert_equal(dom.outerHTML, '<div style="color: red;"></div>');
456
351
  },
457
- 'same POJOs with cyclic reference'() {
458
- const a = { foo: {} };
459
- a['self'] = a;
460
- const b = { foo: {} };
461
- b['self'] = b;
462
- $mol_assert_ok($mol_compare_deep(a, b));
352
+ 'Define dataset'() {
353
+ const dom = $mol_jsx("div", { dataset: { foo: 'bar' } });
354
+ $mol_assert_equal(dom.outerHTML, '<div data-foo="bar"></div>');
463
355
  },
464
- 'Date'() {
465
- $mol_assert_ok($mol_compare_deep(new Date(12345), new Date(12345)));
466
- $mol_assert_not($mol_compare_deep(new Date(12345), new Date(12346)));
356
+ 'Define attributes'() {
357
+ const dom = $mol_jsx("div", { lang: "ru", hidden: true });
358
+ $mol_assert_equal(dom.outerHTML, '<div lang="ru" hidden=""></div>');
467
359
  },
468
- 'RegExp'() {
469
- $mol_assert_ok($mol_compare_deep(/\x22/mig, /\x22/mig));
470
- $mol_assert_not($mol_compare_deep(/\x22/mig, /\x21/mig));
471
- $mol_assert_not($mol_compare_deep(/\x22/mig, /\x22/mg));
360
+ 'Define child nodes'() {
361
+ const dom = $mol_jsx("div", null,
362
+ "hello",
363
+ $mol_jsx("strong", null, "world"),
364
+ "!");
365
+ $mol_assert_equal(dom.outerHTML, '<div>hello<strong>world</strong>!</div>');
472
366
  },
473
- 'Error'() {
474
- $mol_assert_not($mol_compare_deep(new Error('xxx'), new Error('xxx')));
475
- const fail = (message) => new Error(message);
476
- $mol_assert_ok($mol_compare_deep(...['xxx', 'xxx'].map(msg => new Error(msg))));
477
- $mol_assert_not($mol_compare_deep(...['xxx', 'yyy'].map(msg => new Error(msg))));
367
+ 'Function as component'() {
368
+ const Button = (props, target) => {
369
+ return $mol_jsx("button", { title: props.hint }, target());
370
+ };
371
+ const dom = $mol_jsx(Button, { id: "foo", hint: "click me" }, () => 'hey!');
372
+ $mol_assert_equal(dom.outerHTML, '<button id="foo" title="click me" class="Button">hey!</button>');
478
373
  },
479
- 'Map'() {
480
- $mol_assert_ok($mol_compare_deep(new Map, new Map));
481
- $mol_assert_ok($mol_compare_deep(new Map([[1, [2]]]), new Map([[1, [2]]])));
482
- $mol_assert_ok($mol_compare_deep(new Map([[[1], 2]]), new Map([[[1], 2]])));
483
- $mol_assert_not($mol_compare_deep(new Map([[1, 2]]), new Map([[1, 3]])));
484
- $mol_assert_not($mol_compare_deep(new Map([[[1], 2]]), new Map([[[3], 2]])));
374
+ 'Nested guid generation'() {
375
+ const Foo = () => {
376
+ return $mol_jsx("div", null,
377
+ $mol_jsx(Bar, { id: "bar" },
378
+ $mol_jsx("img", { id: "icon" })));
379
+ };
380
+ const Bar = (props, icon) => {
381
+ return $mol_jsx("span", null,
382
+ icon,
383
+ $mol_jsx("i", { id: "label" }));
384
+ };
385
+ const dom = $mol_jsx(Foo, { id: "foo" });
386
+ $mol_assert_equal(dom.outerHTML, '<div id="foo" class="Foo"><span id="foo/bar" class="Foo_bar Bar"><img id="foo/icon" class="Foo_icon"><i id="foo/bar/label" class="Foo_bar_label Bar_label"></i></span></div>');
485
387
  },
486
- 'Set'() {
487
- $mol_assert_ok($mol_compare_deep(new Set, new Set));
488
- $mol_assert_ok($mol_compare_deep(new Set([1, [2]]), new Set([1, [2]])));
489
- $mol_assert_not($mol_compare_deep(new Set([1]), new Set([2])));
388
+ 'Fail on non unique ids'() {
389
+ const App = () => {
390
+ return $mol_jsx("div", null,
391
+ $mol_jsx("span", { id: "bar" }),
392
+ $mol_jsx("span", { id: "bar" }));
393
+ };
394
+ $mol_assert_fail(() => $mol_jsx(App, { id: "foo" }), 'JSX already has tag with id "foo/bar"');
490
395
  },
491
- 'Uint8Array'() {
492
- $mol_assert_ok($mol_compare_deep(new Uint8Array, new Uint8Array));
493
- $mol_assert_ok($mol_compare_deep(new Uint8Array([0]), new Uint8Array([0])));
494
- $mol_assert_not($mol_compare_deep(new Uint8Array([0]), new Uint8Array([1])));
396
+ 'Owner based guid generationn'() {
397
+ const Foo = () => {
398
+ return $mol_jsx("div", null,
399
+ $mol_jsx(Bar, { id: "middle", icon: () => $mol_jsx("img", { id: "icon" }) }));
400
+ };
401
+ const Bar = (props) => {
402
+ return $mol_jsx("span", null, props.icon());
403
+ };
404
+ const dom = $mol_jsx(Foo, { id: "app" });
405
+ $mol_assert_equal(dom.outerHTML, '<div id="app" class="Foo"><span id="app/middle" class="Foo_middle Bar"><img id="app/icon" class="Foo_icon"></span></div>');
495
406
  },
496
- 'Custom comparator'() {
497
- class User {
498
- name;
499
- rand;
500
- constructor(name, rand = Math.random()) {
501
- this.name = name;
502
- this.rand = rand;
503
- }
504
- [Symbol.toPrimitive](mode) {
505
- return this.name;
506
- }
507
- }
508
- $mol_assert_ok($mol_compare_deep(new User('Jin'), new User('Jin')));
509
- $mol_assert_not($mol_compare_deep(new User('Jin'), new User('John')));
407
+ 'Fail on same ids from different caller'() {
408
+ const Foo = () => {
409
+ return $mol_jsx("div", null,
410
+ $mol_jsx("img", { id: "icon" }),
411
+ $mol_jsx(Bar, { id: "bar", icon: () => $mol_jsx("img", { id: "icon" }) }));
412
+ };
413
+ const Bar = (props) => {
414
+ return $mol_jsx("span", null, props.icon());
415
+ };
416
+ $mol_assert_fail(() => $mol_jsx(Foo, { id: "foo" }), 'JSX already has tag with id "foo/icon"');
510
417
  },
511
418
  });
512
419
  })($ || ($ = {}));
513
- //mol/compare/deep/deep.test.tsx
420
+ //mol/jsx/jsx.test.tsx
514
421
  ;
515
422
  "use strict";
516
423
  var $;
@@ -639,46 +546,110 @@ var $;
639
546
  ;
640
547
  "use strict";
641
548
  var $;
642
- (function ($) {
643
- function $mol_dom_serialize(node) {
644
- const serializer = new $mol_dom_context.XMLSerializer;
645
- return serializer.serializeToString(node);
646
- }
647
- $.$mol_dom_serialize = $mol_dom_serialize;
648
- })($ || ($ = {}));
649
- //mol/dom/serialize/serialize.ts
650
- ;
651
- "use strict";
652
- var $;
653
549
  (function ($) {
654
550
  $mol_test({
655
- 'must be false'() {
656
- $mol_assert_not(0);
551
+ 'nulls & undefineds'() {
552
+ $mol_assert_ok($mol_compare_deep(null, null));
553
+ $mol_assert_ok($mol_compare_deep(undefined, undefined));
554
+ $mol_assert_not($mol_compare_deep(undefined, null));
555
+ $mol_assert_not($mol_compare_deep({}, null));
657
556
  },
658
- 'must be true'() {
659
- $mol_assert_ok(1);
557
+ 'number'() {
558
+ $mol_assert_ok($mol_compare_deep(1, 1));
559
+ $mol_assert_ok($mol_compare_deep(Number.NaN, Number.NaN));
560
+ $mol_assert_not($mol_compare_deep(1, 2));
561
+ $mol_assert_ok($mol_compare_deep(Object(1), Object(1)));
562
+ $mol_assert_not($mol_compare_deep(Object(1), Object(2)));
660
563
  },
661
- 'two must be equal'() {
662
- $mol_assert_equal(2, 2);
564
+ 'POJO'() {
565
+ $mol_assert_ok($mol_compare_deep({}, {}));
566
+ $mol_assert_not($mol_compare_deep({ a: 1 }, { b: 2 }));
567
+ $mol_assert_not($mol_compare_deep({ a: 1 }, { a: 2 }));
568
+ $mol_assert_not($mol_compare_deep({}, { a: undefined }));
569
+ $mol_assert_ok($mol_compare_deep({ a: 1, b: 2 }, { b: 2, a: 1 }));
570
+ $mol_assert_ok($mol_compare_deep({ a: { b: 1 } }, { a: { b: 1 } }));
663
571
  },
664
- 'three must be equal'() {
665
- $mol_assert_equal(2, 2, 2);
572
+ 'Array'() {
573
+ $mol_assert_ok($mol_compare_deep([], []));
574
+ $mol_assert_ok($mol_compare_deep([1, [2]], [1, [2]]));
575
+ $mol_assert_not($mol_compare_deep([1, 2], [1, 3]));
576
+ $mol_assert_not($mol_compare_deep([1, 2,], [1, 3, undefined]));
666
577
  },
667
- 'two must be unique'() {
668
- $mol_assert_unique([3], [3]);
578
+ 'Non POJO are different'() {
579
+ class Thing extends Object {
580
+ }
581
+ $mol_assert_not($mol_compare_deep(new Thing, new Thing));
582
+ $mol_assert_not($mol_compare_deep(() => 1, () => 1));
583
+ $mol_assert_not($mol_compare_deep(new RangeError('Test error'), new RangeError('Test error')));
669
584
  },
670
- 'three must be unique'() {
671
- $mol_assert_unique([3], [3], [3]);
585
+ 'same POJOs with cyclic reference'() {
586
+ const a = { foo: {} };
587
+ a['self'] = a;
588
+ const b = { foo: {} };
589
+ b['self'] = b;
590
+ $mol_assert_ok($mol_compare_deep(a, b));
672
591
  },
673
- 'two must be alike'() {
674
- $mol_assert_like([3], [3]);
592
+ 'Date'() {
593
+ $mol_assert_ok($mol_compare_deep(new Date(12345), new Date(12345)));
594
+ $mol_assert_not($mol_compare_deep(new Date(12345), new Date(12346)));
675
595
  },
676
- 'three must be alike'() {
677
- $mol_assert_like([3], [3], [3]);
596
+ 'RegExp'() {
597
+ $mol_assert_ok($mol_compare_deep(/\x22/mig, /\x22/mig));
598
+ $mol_assert_not($mol_compare_deep(/\x22/mig, /\x21/mig));
599
+ $mol_assert_not($mol_compare_deep(/\x22/mig, /\x22/mg));
600
+ },
601
+ 'Error'() {
602
+ $mol_assert_not($mol_compare_deep(new Error('xxx'), new Error('xxx')));
603
+ const fail = (message) => new Error(message);
604
+ $mol_assert_ok($mol_compare_deep(...['xxx', 'xxx'].map(msg => new Error(msg))));
605
+ $mol_assert_not($mol_compare_deep(...['xxx', 'yyy'].map(msg => new Error(msg))));
606
+ },
607
+ 'Map'() {
608
+ $mol_assert_ok($mol_compare_deep(new Map, new Map));
609
+ $mol_assert_ok($mol_compare_deep(new Map([[1, [2]]]), new Map([[1, [2]]])));
610
+ $mol_assert_ok($mol_compare_deep(new Map([[[1], 2]]), new Map([[[1], 2]])));
611
+ $mol_assert_not($mol_compare_deep(new Map([[1, 2]]), new Map([[1, 3]])));
612
+ $mol_assert_not($mol_compare_deep(new Map([[[1], 2]]), new Map([[[3], 2]])));
613
+ },
614
+ 'Set'() {
615
+ $mol_assert_ok($mol_compare_deep(new Set, new Set));
616
+ $mol_assert_ok($mol_compare_deep(new Set([1, [2]]), new Set([1, [2]])));
617
+ $mol_assert_not($mol_compare_deep(new Set([1]), new Set([2])));
618
+ },
619
+ 'Uint8Array'() {
620
+ $mol_assert_ok($mol_compare_deep(new Uint8Array, new Uint8Array));
621
+ $mol_assert_ok($mol_compare_deep(new Uint8Array([0]), new Uint8Array([0])));
622
+ $mol_assert_not($mol_compare_deep(new Uint8Array([0]), new Uint8Array([1])));
623
+ },
624
+ 'Custom comparator'() {
625
+ class User {
626
+ name;
627
+ rand;
628
+ constructor(name, rand = Math.random()) {
629
+ this.name = name;
630
+ this.rand = rand;
631
+ }
632
+ [Symbol.toPrimitive](mode) {
633
+ return this.name;
634
+ }
635
+ }
636
+ $mol_assert_ok($mol_compare_deep(new User('Jin'), new User('Jin')));
637
+ $mol_assert_not($mol_compare_deep(new User('Jin'), new User('John')));
678
638
  },
679
639
  });
680
640
  })($ || ($ = {}));
681
- //mol/assert/assert.test.ts
641
+ //mol/compare/deep/deep.test.tsx
642
+ ;
643
+ "use strict";
644
+ var $;
645
+ (function ($) {
646
+ function $mol_dom_serialize(node) {
647
+ const serializer = new $mol_dom_context.XMLSerializer;
648
+ return serializer.serializeToString(node);
649
+ }
650
+ $.$mol_dom_serialize = $mol_dom_serialize;
651
+ })($ || ($ = {}));
652
+ //mol/dom/serialize/serialize.ts
682
653
  ;
683
654
  "use strict";
684
655
  var $;
@@ -775,7 +746,36 @@ var $;
775
746
  //mol/assert/assert.ts
776
747
  ;
777
748
  "use strict";
778
- //mol/type/immutable/deep/deep/deep.test.ts
749
+ var $;
750
+ (function ($) {
751
+ $mol_test({
752
+ 'must be false'() {
753
+ $mol_assert_not(0);
754
+ },
755
+ 'must be true'() {
756
+ $mol_assert_ok(1);
757
+ },
758
+ 'two must be equal'() {
759
+ $mol_assert_equal(2, 2);
760
+ },
761
+ 'three must be equal'() {
762
+ $mol_assert_equal(2, 2, 2);
763
+ },
764
+ 'two must be unique'() {
765
+ $mol_assert_unique([3], [3]);
766
+ },
767
+ 'three must be unique'() {
768
+ $mol_assert_unique([3], [3], [3]);
769
+ },
770
+ 'two must be alike'() {
771
+ $mol_assert_like([3], [3]);
772
+ },
773
+ 'three must be alike'() {
774
+ $mol_assert_like([3], [3], [3]);
775
+ },
776
+ });
777
+ })($ || ($ = {}));
778
+ //mol/assert/assert.test.ts
779
779
  ;
780
780
  "use strict";
781
781
  var $;
@@ -802,24 +802,10 @@ var $;
802
802
  //mol/log3/log3.ts
803
803
  ;
804
804
  "use strict";
805
- //mol/type/keys/extract/extract.test.ts
806
- ;
807
- "use strict";
808
805
  //mol/type/keys/extract/extract.ts
809
806
  ;
810
807
  "use strict";
811
- var $;
812
- (function ($_1) {
813
- $mol_test_mocks.push($ => {
814
- $.$mol_log3_come = () => { };
815
- $.$mol_log3_done = () => { };
816
- $.$mol_log3_fail = () => { };
817
- $.$mol_log3_warn = () => { };
818
- $.$mol_log3_rise = () => { };
819
- $.$mol_log3_area = () => () => { };
820
- });
821
- })($ || ($ = {}));
822
- //mol/log3/log3.test.ts
808
+ //mol/type/keys/extract/extract.test.ts
823
809
  ;
824
810
  "use strict";
825
811
  var $;
@@ -853,16 +839,16 @@ var $;
853
839
  "use strict";
854
840
  var $;
855
841
  (function ($_1) {
856
- $mol_test({
857
- 'FQN of anon function'($) {
858
- const $$ = Object.assign($, { $mol_func_name_test: (() => () => { })() });
859
- $mol_assert_equal($$.$mol_func_name_test.name, '');
860
- $mol_assert_equal($$.$mol_func_name($$.$mol_func_name_test), '$mol_func_name_test');
861
- $mol_assert_equal($$.$mol_func_name_test.name, '$mol_func_name_test');
862
- },
842
+ $mol_test_mocks.push($ => {
843
+ $.$mol_log3_come = () => { };
844
+ $.$mol_log3_done = () => { };
845
+ $.$mol_log3_fail = () => { };
846
+ $.$mol_log3_warn = () => { };
847
+ $.$mol_log3_rise = () => { };
848
+ $.$mol_log3_area = () => () => { };
863
849
  });
864
850
  })($ || ($ = {}));
865
- //mol/func/name/name.test.ts
851
+ //mol/log3/log3.test.ts
866
852
  ;
867
853
  "use strict";
868
854
  var $;
@@ -898,6 +884,20 @@ var $;
898
884
  ;
899
885
  "use strict";
900
886
  var $;
887
+ (function ($_1) {
888
+ $mol_test({
889
+ 'FQN of anon function'($) {
890
+ const $$ = Object.assign($, { $mol_func_name_test: (() => () => { })() });
891
+ $mol_assert_equal($$.$mol_func_name_test.name, '');
892
+ $mol_assert_equal($$.$mol_func_name($$.$mol_func_name_test), '$mol_func_name_test');
893
+ $mol_assert_equal($$.$mol_func_name_test.name, '$mol_func_name_test');
894
+ },
895
+ });
896
+ })($ || ($ = {}));
897
+ //mol/func/name/name.test.ts
898
+ ;
899
+ "use strict";
900
+ var $;
901
901
  (function ($) {
902
902
  $mol_test({
903
903
  'Wrap & unwrap'() {