UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

19 lines (18 loc) 825 B
/*! * KoliBri - The accessible HTML-Standard */ import { h } from "@stencil/core"; import { renderFunctionalComponentToSpecPage } from "../../../utils/testing"; import KolIconButtonFc from "../../IconButton"; import KolInputAdornmentFc from "../InputAdornment"; describe('KolInputContainerFc', () => { it('should render correctly', async () => { const page = await renderFunctionalComponentToSpecPage(() => h(KolInputAdornmentFc, null)); expect(page.root).toMatchSnapshot(); }); it('should render with children', async () => { const page = await renderFunctionalComponentToSpecPage(() => (h(KolInputAdornmentFc, null, h(KolIconButtonFc, { componentName: "icon", icon: "start-icon" })))); expect(page.root).toMatchSnapshot(); }); }); //# sourceMappingURL=snapshot.test.js.map