File tree 1 file changed +2
-2
lines changed
packages/react-query-devtools/src/__tests__
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ describe('ReactQueryDevtools', () => {
587
587
)
588
588
expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 0 ] )
589
589
590
- screen . getByRole ( 'button' , { name : / A s c / i } )
590
+ expect ( screen . getByRole ( 'button' , { name : / A s c / i } ) ) . toBeInTheDocument ( )
591
591
592
592
const detailsPanel = screen . queryByText ( / Q u e r y D e t a i l s / i)
593
593
expect ( detailsPanel ) . not . toBeInTheDocument ( )
@@ -624,7 +624,7 @@ describe('ReactQueryDevtools', () => {
624
624
)
625
625
expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 1 ] )
626
626
627
- screen . getByRole ( 'button' , { name : / D e s c / i } )
627
+ expect ( screen . getByRole ( 'button' , { name : / D e s c / i } ) ) . toBeInTheDocument ( )
628
628
} )
629
629
630
630
it ( 'should initialize filter value with one stored in localstorage' , ( ) => {
You can’t perform that action at this time.
0 commit comments