Co-authored-by: Thomas Allmer <Thomas.Allmer@ing.com> Co-authored-by: Joren Broekema <Joren.Broekema@ing.com> Co-authored-by: Mikhail Bashkirov <Mikhail.Bashkirov@ing.com> Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
13 lines
409 B
JavaScript
13 lines
409 B
JavaScript
import { expect, fixture, html } from '@open-wc/testing';
|
|
|
|
import '../lion-options.js';
|
|
|
|
describe('lion-options', () => {
|
|
it('should have role="listbox"', async () => {
|
|
const registrationTargetEl = document.createElement('div');
|
|
const el = await fixture(html`
|
|
<lion-options .registrationTarget=${registrationTargetEl}></lion-options>
|
|
`);
|
|
expect(el.role).to.equal('listbox');
|
|
});
|
|
});
|