about summary refs log tree commit diff
path: root/spec/javascript/components/loading_indicator.test.jsx
blob: e62288405576580422157d14cd882aa0aa6bf4f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { expect } from 'chai';
import { shallow } from 'enzyme';

import LoadingIndicator from '../../../app/assets/javascripts/components/components/loading_indicator'

describe('<LoadingIndicator />', function() {
  it('renders text that indicates loading', function() {
    const wrapper = shallow(<LoadingIndicator />);
    expect(wrapper.text()).to.match(/loading/i);
  });
});