xchain-components
Version:
Xchain Components
14 lines (11 loc) • 509 B
JavaScript
/* eslint react/jsx-filename-extension: 0 */
import React from 'react';
import { shallow,mount } from 'enzyme';
import XBreadcrumb from '../../XBreadcrumb';
const clickFn = jest.fn();
describe('XBreadcrumb', () => {
it('should render correctly in bold style', () => {
const component = shallow(<XBreadcrumb size='large' data={[{ name: "Home", key: "link" },{ name: "Registration", key: "link" },{ name: "PersonalInformation", key: "active" },]} />);
expect(component).toMatchSnapshot();
});
});