UNPKG

v4web-components

Version:
29 lines (28 loc) 1.05 kB
import { newSpecPage } from '@stencil/core/testing'; import { LabDsTextFieldWithTag } from './lab-ds-text-field-with-tag'; describe('v4TextFieldWithTag', () => { it('renders', async () => { const page = await newSpecPage({ components: [LabDsTextFieldWithTag], html: `<lab-ds-text-field-with-tag />`, }); expect(page.root).toEqualHtml(` <lab-ds-text-field-with-tag> <mock:shadow-root> <div class="default false v4-input"> <span class="title-text"></span> <div class="input-helper"> <div class="input-icon"> <form class="input-field"> <input placeholder="" type="text"> </form> <lab-ds-icon-not-selectable class="icon right" icon="" size="small"></lab-ds-icon-not-selectable> </div> </div> </div> </mock:shadow-root> </lab-ds-text-field-with-tag> `); }); }); //# sourceMappingURL=lab-ds-text-field-with-tag.spec.js.map