1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-20 17:48:57 +09:00
YuruToot/spec/javascript/components/loading_indicator.test.jsx
2016-10-10 22:48:58 +02:00

12 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);
});
});