This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/javascript/components/loading_indicator.test.jsx

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