UNPKG

cascnauipackages

Version:

Repo for Common Components for CASCNA

17 lines (13 loc) 353 B
import React from 'react'; import { shallow } from 'enzyme'; import HeaderText from '..'; describe('HeaderText test cases ------', () => { let wrapper; beforeEach(() => { wrapper = shallow(<HeaderText title={'Advance Contract Settings'} /> ); }); it('HeaderText Snapshot match', () => { expect(wrapper).toMatchSnapshot(); }); });