about summary refs log tree commit diff
path: root/spec/javascript/components/loading_indicator.test.jsx
blob: 7039dbfbd430f04aff309f3d335fde669706440e (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 />', () => {
  it('renders text that indicates loading', () => {
    const wrapper = shallow(<LoadingIndicator />);
    expect(wrapper.text()).to.match(/loading/i);
  });
});