MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/About/Content/Content.test.jsx

Summary

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

describe('Content', () => {
  it('is defined', () => {
    const wrapper = shallow(<Content />);
    expect(wrapper).toBeDefined();
  });

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