mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 21:43:15 -08:00
13 lines
432 B
React
13 lines
432 B
React
|
|
import { expect } from 'chai';
|
||
|
|
import { shallow } from 'enzyme';
|
||
|
|
import React from 'react';
|
||
|
|
global.React = React;
|
||
|
|
|
||
|
|
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);
|
||
|
|
});
|
||
|
|
});
|