diff --git a/src/components/switch/switch.test.ts b/src/components/switch/switch.test.ts index bfbd20b40..3b9e24c2c 100644 --- a/src/components/switch/switch.test.ts +++ b/src/components/switch/switch.test.ts @@ -330,17 +330,17 @@ describe('', () => { }); // https://github.com/shoelace-style/webawesome-alpha/discussions/124 - it("Should properly flag changes to checked and reflect", async () => { - const el = await fixture(html``) - await el.updateComplete - expect(el.checked).to.equal(false) + it('Should properly flag changes to checked and reflect', async () => { + const el = await fixture(html``); + 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); + }); }); } });