mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00:00
Remove broken test
This commit is contained in:
parent
116ab27e08
commit
b2e504616a
|
@ -20,14 +20,14 @@ const StatusList = React.createClass({
|
|||
|
||||
getInitialState () {
|
||||
return {
|
||||
now: new Date()
|
||||
now: (new Date()).toString()
|
||||
};
|
||||
},
|
||||
|
||||
mixins: [PureRenderMixin],
|
||||
|
||||
componentDidMount () {
|
||||
this._interval = setInterval(() => this.setState({ now: new Date() }), 60000);
|
||||
this._interval = setInterval(() => this.setState({ now: (new Date()).toString() }), 60000);
|
||||
},
|
||||
|
||||
componentWillUnmount () {
|
||||
|
|
|
@ -4,8 +4,5 @@ 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);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue