Precise DOM morphing
morphing typescript dom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

And some more

+5 -5
+3 -3
test/morphdom.test.js
··· 79 79 expect(a.children[1].textContent).to.equal("B"); 80 80 }); 81 81 82 - it.skip("incompatible matching ids are morphed correctly", async () => { 82 + it("incompatible matching ids are morphed correctly", async () => { 83 83 const a = await fixture( 84 84 html`<div> 85 85 <h1 id="foo" class="foo">A</h1> ··· 107 107 expect(a.value).to.equal("Hello World 2"); 108 108 }); 109 109 110 - it.skip("should transform a checkbox input type attribute", async () => { 110 + it("should transform a checkbox input type attribute", async () => { 111 111 const a = await fixture(html`<input type="checkbox" checked="" />`); 112 112 a.checked = false; 113 113 const b = await fixture(html`<input type="text" checked="" />`); ··· 119 119 expect(a.type).to.equal("text"); 120 120 }); 121 121 122 - it.skip("should transform a checkbox input property", async () => { 122 + it("should transform a checkbox input property", async () => { 123 123 const a = await fixture(html`<input type="checkbox" />`); 124 124 a.checked = false; 125 125 const b = await fixture(html`<input type="checkbox" />`);
+2 -2
test/nanomorph.test.js
··· 739 739 }); 740 740 }); 741 741 742 - it.skip("allows morphing from Node to NodeList", async () => { 742 + it("allows morphing from Node to NodeList", async () => { 743 743 const a = await fixture(html`<div><div>a</div></div>`); 744 744 const b = await fixture( 745 745 html`<div>a</div> ··· 751 751 expect(a.outerHTML).to.equal(b.outerHTML); 752 752 }); 753 753 754 - it.skip("allows morphing from NodeList to Node", async () => { 754 + it("allows morphing from NodeList to Node", async () => { 755 755 const a = await fixture( 756 756 html`<div>a</div> 757 757 <div>b</div>`,