it('Exclude time cannot be more than 5 years and should have error.', () => {
    const wrapper = mountWithIntl(<SettingsSelfExclusion />);
    const excludeUntil = wrapper.find('#exclude_until').hostNodes();
    excludeUntil.instance().value = dateFormat(moment().add(5, 'years').add(1, 'days'));
    wrapper.update();