diff options
Diffstat (limited to 'spec/javascript/components/loading_indicator.test.jsx')
-rw-r--r-- | spec/javascript/components/loading_indicator.test.jsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/javascript/components/loading_indicator.test.jsx b/spec/javascript/components/loading_indicator.test.jsx new file mode 100644 index 000000000..7039dbfbd --- /dev/null +++ b/spec/javascript/components/loading_indicator.test.jsx @@ -0,0 +1,11 @@ +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); + }); +}); |