import { expect, fixture } from '@open-wc/testing'; import { html } from 'lit/static-html.js'; import '@lion/select/define'; describe('lion-select', () => { it('can preselect an option', async () => { const lionSelect = await fixture(html` `); expect(lionSelect.querySelector('select')?.value).to.equal('nr2'); }); it('is accessible', async () => { const lionSelect = await fixture(html` `); await expect(lionSelect).to.be.accessible(); }); });