mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
prettier
This commit is contained in:
@@ -330,17 +330,17 @@ describe('<wa-switch>', () => {
|
||||
});
|
||||
|
||||
// https://github.com/shoelace-style/webawesome-alpha/discussions/124
|
||||
it("Should properly flag changes to checked and reflect", async () => {
|
||||
const el = await fixture<WaSwitch>(html`<wa-switch></wa-switch>`)
|
||||
await el.updateComplete
|
||||
expect(el.checked).to.equal(false)
|
||||
it('Should properly flag changes to checked and reflect', async () => {
|
||||
const el = await fixture<WaSwitch>(html`<wa-switch></wa-switch>`);
|
||||
await el.updateComplete;
|
||||
expect(el.checked).to.equal(false);
|
||||
|
||||
el.checked = true
|
||||
el.checked = true;
|
||||
|
||||
await el.updateComplete
|
||||
await el.updateComplete;
|
||||
|
||||
expect(el.checked).to.equal(true)
|
||||
})
|
||||
expect(el.checked).to.equal(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user