pull/2876/head
Richard Harris 6 years ago
parent a48d029e8a
commit cce9f14e38

@ -9,7 +9,7 @@ export default {
details.open = true;
await details.dispatchEvent(event);
assert.equal(component.open, true);
assert.equal(component.visible, true);
assert.htmlEqual(target.innerHTML, `
<details open><summary>toggle</summary></details>
<p>hello!</p>
@ -17,9 +17,9 @@ export default {
details.open = false;
await details.dispatchEvent(event);
assert.equal(component.open, false);
assert.equal(component.visible, false);
assert.htmlEqual(target.innerHTML, `
<details open=""><summary>toggle</summary></details>
<details><summary>toggle</summary></details>
`);
}
};

Loading…
Cancel
Save