chore: Missing closing tag in button test suite (#2348)
This commit is contained in:
parent
61bf8cb4b1
commit
0a71670069
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue