Co-authored-by: daKmoR <Thomas.Allmer@ing.com> Co-authored-by: CubLion <Alex.Ghiu@ing.com>
12 lines
356 B
JavaScript
12 lines
356 B
JavaScript
import { expect, fixture, nextFrame } from '@open-wc/testing';
|
|
import '../lion-radio.js';
|
|
|
|
describe('<lion-radio>', () => {
|
|
it('should have type = radio', async () => {
|
|
const el = await fixture(`
|
|
<lion-radio name="radio" value="male"></lion-radio>
|
|
`);
|
|
await nextFrame();
|
|
expect(el.getAttribute('type')).to.equal('radio');
|
|
});
|
|
});
|