cybre-space/spec/javascript/components/loading_indicator.test.jsx

12 lines
373 B
React
Raw Normal View History

import { expect } from 'chai';
import { shallow } from 'enzyme';
import LoadingIndicator from '../../../app/assets/javascripts/components/components/loading_indicator'
2016-10-10 21:46:37 +01:00
describe('<LoadingIndicator />', () => {
it('renders text that indicates loading', () => {
const wrapper = shallow(<LoadingIndicator />);
expect(wrapper.text()).to.match(/loading/i);
});
});