File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-query-devtools/src/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ describe('ReactQueryDevtools', () => {
587587 )
588588 expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 0 ] )
589589
590- screen . getByRole ( 'button' , { name : / A s c / i } )
590+ expect ( screen . getByRole ( 'button' , { name : / A s c / i } ) ) . toBeInTheDocument ( )
591591
592592 const detailsPanel = screen . queryByText ( / Q u e r y D e t a i l s / i)
593593 expect ( detailsPanel ) . not . toBeInTheDocument ( )
@@ -624,7 +624,7 @@ describe('ReactQueryDevtools', () => {
624624 )
625625 expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 1 ] )
626626
627- screen . getByRole ( 'button' , { name : / D e s c / i } )
627+ expect ( screen . getByRole ( 'button' , { name : / D e s c / i } ) ) . toBeInTheDocument ( )
628628 } )
629629
630630 it ( 'should initialize filter value with one stored in localstorage' , ( ) => {
You can’t perform that action at this time.
0 commit comments