@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
17 lines (16 loc) • 604 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { h } from "@stencil/core";
import { newSpecPage } from "@stencil/core/testing";
import { PopoverFC } from "./component";
describe('PopoverFC', () => {
it.each([{ align: 'top' }, { align: 'right' }, { align: 'bottom' }, { align: 'left' }])('renders correctly with props: %j', async (props) => {
const page = await newSpecPage({
components: [],
template: () => h(PopoverFC, Object.assign({}, props)),
});
expect(page.root).toMatchSnapshot();
});
});
//# sourceMappingURL=snapshot.test.js.map