UNPKG

@zohodesk/components

Version:

Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development

11 lines 449 B
import React from 'react'; import { render } from '@testing-library/react'; import DropDown from "../DropDown"; describe('DropDown', () => { test('rendering the defult props', () => { const { asFragment } = render( /*#__PURE__*/React.createElement(DropDown, null, /*#__PURE__*/React.createElement("div", null, "test 1"), /*#__PURE__*/React.createElement("div", null, "test 2"))); expect(asFragment()).toMatchSnapshot(); }); });