lion/packages/select-rich/test/lion-options.test.js
Thijs Louisse 4c26befaae feat: update to latest overlay system
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>
2019-10-10 17:14:49 +02:00

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');
});
});