mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-20 05:44:01 +00:00
12 lines
373 B
JavaScript
12 lines
373 B
JavaScript
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);
|
|
});
|
|
});
|