lion/packages/radio/test/lion-radio.test.js
Joren Broekema 848ff06887 feat: flatten modelValue and remove checkedValue
Co-authored-by: daKmoR <Thomas.Allmer@ing.com>
Co-authored-by: CubLion <Alex.Ghiu@ing.com>
2020-02-06 16:06:52 +01:00

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