content: import React from 'react';
  import { expect } from 'chai';
  import { mount } from 'enzyme';
  
  import Loading from 'ceephax/components/loading';
  
  describe('<Loading />', () => {
      it('renders <Loading /> components ', () => {
          const wrapper = mount(<Loading display={false} />);
          expect(wrapper.is(Loading)).to.equal(true);
      });
  
      it('adds a "show" class when told', () => {
          const wrapper = mount(<Loading display={true} />);
          expect(wrapper.find('.show').exists()).to.equal(true);
      });
  
      it('adds a "hide" class when told', () => {
          const wrapper = mount(<Loading display={false} />);
          expect(wrapper.find('.hide').exists()).to.equal(true);
      });
  });
  