18F/State-TalentMAP

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

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { shallow } from 'enzyme';
import toJSON from 'enzyme-to-json';
import About from './About';
 
describe('About', () => {
it('is defined', () => {
const wrapper = shallow(<About />);
expect(wrapper).toBeDefined();
});
 
it('matches snapshot', () => {
const wrapper = shallow(<About />);
expect(toJSON(wrapper)).toMatchSnapshot();
});
});