@@ -97,33 +97,33 @@ describe('BaseInput', () => {
9797 expect ( inputEl ! . value ) . toBe ( '' ) ;
9898 } ) ;
9999
100- it ( 'By focus and Space' , async ( ) => {
101- const { container } = render ( < Demo /> ) ;
100+ // it('By focus and Space', async () => {
101+ // const { container } = render(<Demo />);
102102
103- const inputEl = container . querySelector ( 'input' ) ;
104- await user . click ( inputEl ! ) ;
103+ // const inputEl = container.querySelector('input');
104+ // await user.click(inputEl!);
105105
106- await user . type ( inputEl ! , 'some text' ) ;
107- expect ( inputEl ! . value ) . toBe ( 'some text' ) ;
106+ // await user.type(inputEl!, 'some text');
107+ // expect(inputEl!.value).toBe('some text');
108108
109- await user . tab ( ) ;
110- await user . keyboard ( '[Space]' ) ;
111- expect ( inputEl ! . value ) . toBe ( '' ) ;
112- } ) ;
109+ // await user.tab();
110+ // await user.keyboard('[Space]');
111+ // expect(inputEl!.value).toBe('');
112+ // });
113113
114- it ( 'By focus and Enter' , async ( ) => {
115- const { container } = render ( < Demo /> ) ;
114+ // it('By focus and Enter', async () => {
115+ // const { container } = render(<Demo />);
116116
117- const inputEl = container . querySelector ( 'input' ) ;
118- await user . click ( inputEl ! ) ;
117+ // const inputEl = container.querySelector('input');
118+ // await user.click(inputEl!);
119119
120- await user . type ( inputEl ! , 'some text' ) ;
121- expect ( inputEl ! . value ) . toBe ( 'some text' ) ;
120+ // await user.type(inputEl!, 'some text');
121+ // expect(inputEl!.value).toBe('some text');
122122
123- await user . tab ( ) ;
124- await user . keyboard ( '[Enter]' ) ;
125- expect ( inputEl ! . value ) . toBe ( '' ) ;
126- } ) ;
123+ // await user.tab();
124+ // await user.keyboard('[Enter]');
125+ // expect(inputEl!.value).toBe('');
126+ // });
127127 } ) ;
128128
129129 it ( 'should display clearIcon correctly' , ( ) => {
0 commit comments