UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

14 lines (13 loc) 576 B
import { jsx as _jsx } from "react/jsx-runtime"; import { render } from '@testing-library/react'; import { Container } from './container'; describe('<Container>', () => { test(' it should render properly', () => { const { container } = render(_jsx(Container, { children: "Content" })); expect(container).not.toBeNull(); }); test(' it should render properly with props', () => { const { container } = render(_jsx(Container, { dimension: "medium", padding: true, children: "Content" })); expect(container).not.toBeNull(); }); });