Skip to content

Commit

Permalink
More tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Feb 25, 2024
1 parent a384be4 commit 5e97237
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/nanomorph.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe("nanomorph", () => {
expect(a.value).to.equal("");
});

it.skip("if new tree has value in HTML and old tree does too, set value from new tree", async () => {
it("if new tree has value in HTML and old tree does too, set value from new tree", async () => {
const a = await fixture(html`<input type="text" value="howdy" />`);
const b = await fixture(html`<input type="text" value="hi" />`);

Expand Down Expand Up @@ -216,7 +216,7 @@ describe("nanomorph", () => {
expect(a.checked).to.equal(false);
});

it.skip("if new tree has no checked and old tree has checked mutated to true, set value from new tree", async () => {
it("if new tree has no checked and old tree has checked mutated to true, set value from new tree", async () => {
const a = await fixture(html`<input type="checkbox" />`);
const b = await fixture(html`<input type="checkbox" />`);
b.checked = true;
Expand All @@ -227,7 +227,7 @@ describe("nanomorph", () => {
expect(a.checked).to.equal(true);
});

it.skip("if new tree has checked=false and old tree has checked mutated to true, set value from new tree", async () => {
it("if new tree has checked=false and old tree has checked mutated to true, set value from new tree", async () => {
const a = await fixture(html`<input type="checkbox" checked=${false} />`);
const b = await fixture(html`<input type="checkbox" />`);
b.checked = true;
Expand Down

0 comments on commit 5e97237

Please sign in to comment.