@zohodesk/components
Version:
In this Package, we Provide Some Basic Components to Build Web App
12 lines • 395 B
JavaScript
import React from 'react';
import { render } from '@testing-library/react';
import SelectWithIcon from "../SelectWithIcon";
describe('SelectWithIcon', () => {
test('rendering the defult props', () => {
const mockOnChange = jest.fn();
const {
asFragment
} = render( /*#__PURE__*/React.createElement(SelectWithIcon, null));
expect(asFragment()).toMatchSnapshot();
});
});