UNPKG

v4web-components

Version:
25 lines (24 loc) 906 B
import { newSpecPage } from '@stencil/core/testing'; import { LabDsQuantify } from './lab-ds-quantify'; describe('v4-segmented-control', () => { it('renders', async () => { const page = await newSpecPage({ components: [LabDsQuantify], html: `<lab-ds-quantify />`, }); expect(page.root).toEqualHtml(` <lab-ds-quantify> <mock:shadow-root> <div class="v4-quantify"> <button disabled=""> <lab-ds-icon-not-selectable icon="remove" size="small"/></button> <div class="v4-quantify-counter"> <span class="v4-quantify-option-counter">0</span> </div> <button ><lab-ds-icon-not-selectable icon="add" size="small"/></button> </div> </mock:shadow-root> </lab-ds-quantify> `); }); }); //# sourceMappingURL=lab-ds-quantify.spec.js.map