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.

11 lines
373 B

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