UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

20 lines 592 B
import React from 'react'; import { render } from '@testing-library/react'; import ListStencils from "../ListStencils"; describe('ListStencils', () => { test('rendering the defult props', () => { const { asFragment } = render( /*#__PURE__*/React.createElement(ListStencils, null)); expect(asFragment()).toMatchSnapshot(); }); test('customId and testId', () => { const { asFragment } = render( /*#__PURE__*/React.createElement(ListStencils, { testId: "ticket", customId: "contact" })); expect(asFragment()).toMatchSnapshot(); }); });