mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-02 11:39:04 +01:00
11 lines
383 B
JavaScript
11 lines
383 B
JavaScript
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);
|
|
});
|
|
});
|