You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
432 B

  1. import { expect } from 'chai';
  2. import { shallow } from 'enzyme';
  3. import React from 'react';
  4. global.React = React;
  5. import LoadingIndicator from '../../../app/assets/javascripts/components/components/loading_indicator'
  6. describe('<LoadingIndicator />', function() {
  7. it('renders text that indicates loading', function() {
  8. const wrapper = shallow(<LoadingIndicator />);
  9. expect(wrapper.text()).to.match(/loading/i);
  10. });
  11. });