MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/BidTracker/OverlayAlert/DeclinedAlert/DeclinedAlert.test.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import { shallow } from 'enzyme';
import toJSON from 'enzyme-to-json';
import DeclinedAlert from './DeclinedAlert';

describe('DeclinedAlertComponent', () => {
  it('is defined', () => {
    const wrapper = shallow(
      <DeclinedAlert bureau="test" />,
    );
    expect(wrapper).toBeDefined();
  });

  it('matches snapshot', () => {
    const wrapper = shallow(
      <DeclinedAlert bureau="test" />,
    );
    expect(toJSON(wrapper)).toMatchSnapshot();
  });
});