@@ -15,16 +15,6 @@ describe('Checkbox component', () => {
1515 wrapper . setProps ( { validate : true } ) ;
1616 expect ( wrapper . update ( ) . find ( `.${ MSG_CLASS_IDENTITIFIER } ` ) . length ) . toEqual ( 1 ) ;
1717 } ) ;
18- // TODO
19- // it('[Providing tabIndex]: Should tabIndex be exact the same with given prop', () => {
20- // const wrapper = mount(<Checkbox tabIndex={10} onBlur={() => {}} />);
21- // const $input = wrapper.find(INPUT);
22- // $input.simulate('focus');
23- // $input.simulate('blur');
24- // console.log($input.props())
25- // console.log(wrapper.find(INPUT).props())
26- // expect(wrapper.find(INPUT).props()['tabindex']).toEqual(1);
27- // });
2818
2919 it ( '[Providing msgOnError]: Should msg be msgOnError' , ( ) => {
3020 const msgOnError = 'msgOnError' ;
@@ -187,29 +177,6 @@ describe('Checkbox component', () => {
187177 expect ( wrapper . find ( `.${ MSG_CLASS_IDENTITIFIER } ` ) . length ) . toEqual ( 0 ) ;
188178 } ) ;
189179
190- // TODO
191- // it('[All props]: Should pass all props', () => {
192- // const wrapper = mount(
193- // <Checkbox
194- // id="id"
195- // name="name"
196- // tabIndex="1"
197- // value=""
198- // labelHtml="foo"
199- // classNameInput="classNameInput"
200- // classNameWrapper="classNameWrapper"
201- // classNameInputBox="classNameInputBox"
202- // classNameContainer="classNameContainer"
203- // customStyleInput={{}}
204- // customStyleWrapper={{}}
205- // customStyleInputBox={{}}
206- // customStyleContainer={{}}
207- // validationOption={{}}
208- // />,
209- // );
210- // expect(wrapper.find(`#id`).hostNodes().length).toEqual(1);
211- // });
212-
213180 it ( '[asyncObj]: Should show error' , ( ) => {
214181 const wrapper = mount ( < Checkbox onBlur = { ( ) => { } } asyncMsgObj = { { } } /> ) ;
215182 const $input = wrapper . find ( INPUT ) ;
0 commit comments