From 767346f4d32c482046372ac2c4944caab842cf0c Mon Sep 17 00:00:00 2001 From: Giampaolo Bellavite Date: Wed, 15 Nov 2017 23:26:29 +0100 Subject: [PATCH] =?UTF-8?q?Remove=20role=3D=E2=80=9Capplication=E2=80=9D?= =?UTF-8?q?=20(#548)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DayPicker.js | 1 - test/daypicker/rendering.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/DayPicker.js b/src/DayPicker.js index 6fbc5121d1..5d92a111cd 100644 --- a/src/DayPicker.js +++ b/src/DayPicker.js @@ -525,7 +525,6 @@ export default class DayPicker extends Component { {...this.props.containerProps} className={className} ref={el => (this.dayPicker = el)} - role="application" lang={this.props.locale} >
{ const wrapper = shallow(); expect(wrapper).toHaveClassName('given'); }); - it('should have the application role', () => { - const wrapper = shallow(); - expect(wrapper).toHaveProp('role', 'application'); - }); it('should use the given tabIndex', () => { const wrapper = shallow(); expect(wrapper.find('.DayPicker-wrapper')).toHaveProp('tabIndex', -1);