department-of-veterans-affairs/vets-website

View on GitHub
src/applications/static-pages/events/components/App/index.unit.spec.js

Summary

Maintainability
A
2 hrs
Test Coverage
import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import { App } from '.';

describe('Events <App>', () => {
  it('renders what we expect', () => {
    const wrapper = shallow(<App />);

    expect(wrapper.find('Events')).to.have.length(1);

    wrapper.unmount();
  });
});