mol_jsx_lib 0.0.64 → 0.0.65

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 CHANGED
@@ -1976,7 +1976,7 @@ var $;
1976
1976
  }
1977
1977
  attributes;
1978
1978
  ownerDocument;
1979
- className;
1979
+ className = '';
1980
1980
  get childNodes() {
1981
1981
  return [];
1982
1982
  }
@@ -3772,6 +3772,33 @@ var $;
3772
3772
  $mol_assert_equal(Fib.value(4), 8);
3773
3773
  $mol_assert_equal(Fib.sums, 6);
3774
3774
  },
3775
+ 'Unsubscribe from temp pubs on complete'($) {
3776
+ class Random extends $mol_object2 {
3777
+ static $ = $;
3778
+ static seed() {
3779
+ return Math.random();
3780
+ }
3781
+ static resets(next) {
3782
+ return Math.random();
3783
+ }
3784
+ static value() {
3785
+ this.resets();
3786
+ return this.seed();
3787
+ }
3788
+ }
3789
+ __decorate([
3790
+ $mol_wire_method
3791
+ ], Random, "seed", null);
3792
+ __decorate([
3793
+ $mol_wire_mem(0)
3794
+ ], Random, "resets", null);
3795
+ __decorate([
3796
+ $mol_wire_mem(0)
3797
+ ], Random, "value", null);
3798
+ const first = Random.value();
3799
+ Random.resets(null);
3800
+ $mol_assert_unique(Random.value(), first);
3801
+ },
3775
3802
  });
3776
3803
  })($ || ($ = {}));
3777
3804
  //mol/wire/mem/mem.test.ts