UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

10 lines (9 loc) 404 B
import { jsx as _jsx } from "react/jsx-runtime"; import { render } from '@testing-library/react'; import { AspectRatio } from './aspect-ratio'; describe('<AspectRatio>', () => { test('it should render properly', () => { const { container } = render(_jsx(AspectRatio, { ratio: "1", children: _jsx("div", { children: "Some content" }) })); expect(container).not.toBeNull(); }); });