mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
12 lines
383 B
React
12 lines
383 B
React
|
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);
|
||
|
});
|
||
|
});
|