benfluleck/HelloBooks

View on GitHub
client/__tests__/components/presentation/messages/MessageforNoBooks.spec.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { shallow } from 'enzyme';
/* eslint-disable */
import MessageforNoBooks from
  '../../../../src/app/components/presentation/messages/dashboardMessages/MessageforNoBooks';


describe('MessageforNoBooks/>', () => {
  it('renders a MessageforNoBooks without crashing', () => {
    const setup = () => shallow(<MessageforNoBooks />);
    const wrapper = setup();
    expect(wrapper.find('Row').length).toBe(1);
    expect(wrapper.length).toBe(1);
  });
});