File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -249,16 +249,6 @@ test('fireEvent calls handler on element when both element and parent have handl
249249 expect ( parentHandler ) . not . toHaveBeenCalled ( ) ;
250250} ) ;
251251
252- test ( 'fireEvent does not update native state when element is unmounted' , async ( ) => {
253- const { unmount } = await render ( < TextInput testID = "input" /> ) ;
254- const input = screen . getByTestId ( 'input' ) ;
255-
256- await unmount ( ) ;
257-
258- await fireEvent . changeText ( input , 'should not update' ) ;
259- expect ( nativeState . valueForElement . get ( input ) ) . toBeUndefined ( ) ;
260- } ) ;
261-
262252test ( 'fireEvent does not throw when called with non-existent event name' , async ( ) => {
263253 await render ( < Pressable testID = "btn" /> ) ;
264254 const element = screen . getByTestId ( 'btn' ) ;
You can’t perform that action at this time.
0 commit comments