teamAvatar.spec.jsx 367 B

1234567891011121314
  1. import React from 'react';
  2. import {shallow} from 'enzyme';
  3. import TeamAvatar from 'app/components/teamAvatar';
  4. describe('TeamAvatar', function() {
  5. describe('render()', function() {
  6. it('renders', function() {
  7. let team = TestStubs.Team();
  8. let wrapper = shallow(<TeamAvatar team={team} />);
  9. expect(wrapper).toMatchSnapshot();
  10. });
  11. });
  12. });