You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
432 B
13 lines
432 B
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); |
|
}); |
|
});
|
|
|