chore: Missing closing tag in button test suite (#2348)

This commit is contained in:
Ardeshir Izadi 2024-08-26 09:28:04 +02:00 committed by GitHub
parent 61bf8cb4b1
commit 0a71670069
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,9 @@ export function LionButtonSuite({ klass = LionButton } = {}) {
describe('Active', () => { describe('Active', () => {
it('updates "active" attribute on host when mousedown/mouseup on button', async () => { it('updates "active" attribute on host when mousedown/mouseup on button', async () => {
const el = /** @type {LionButton} */ (await fixture(html`<${tagButton}>foo</${tagButton}`)); const el = /** @type {LionButton} */ (
await fixture(html`<${tagButton}>foo</${tagButton}>`)
);
el.dispatchEvent(new Event('mousedown')); el.dispatchEvent(new Event('mousedown'));
expect(el.active).to.be.true; expect(el.active).to.be.true;