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

21 lines 604 B
import React from 'react'; import { render } from '@testing-library/react'; import SuccessTick from "../SuccessTick"; describe('SuccessTick', () => { test('renders default snapshot', () => { const { asFragment } = render( /*#__PURE__*/React.createElement(SuccessTick, null)); expect(asFragment()).toMatchSnapshot(); }); test('renders with customClass', () => { const { asFragment } = render( /*#__PURE__*/React.createElement(SuccessTick, { customClass: { wrapper: 'my-custom-class' } })); expect(asFragment()).toMatchSnapshot(); }); });