@@ -577,14 +577,12 @@ describe('ReactQueryDevtools', () => {
577
577
initialIsOpen : true ,
578
578
} )
579
579
580
- const filterInput : HTMLInputElement = screen . getByLabelText (
581
- / F i l t e r b y q u e r y h a s h / i
582
- )
580
+ const filterInput : HTMLInputElement =
581
+ screen . getByLabelText ( / F i l t e r b y q u e r y h a s h / i)
583
582
expect ( filterInput . value ) . toEqual ( '' )
584
583
585
- const sortCombobox : HTMLSelectElement = screen . getByLabelText (
586
- / S o r t q u e r i e s / i
587
- )
584
+ const sortCombobox : HTMLSelectElement =
585
+ screen . getByLabelText ( / S o r t q u e r i e s / i)
588
586
expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 0 ] )
589
587
590
588
expect ( screen . getByRole ( 'button' , { name : / A s c / i } ) ) . toBeInTheDocument ( )
@@ -597,7 +595,7 @@ describe('ReactQueryDevtools', () => {
597
595
localStorage . setItem ( 'reactQueryDevtoolsSortDesc' , 'true' )
598
596
localStorage . setItem (
599
597
'reactQueryDevtoolsSortFn' ,
600
- JSON . stringify ( Object . keys ( sortFns ) [ 1 ] )
598
+ JSON . stringify ( Object . keys ( sortFns ) [ 1 ] ) ,
601
599
)
602
600
603
601
const { queryClient } = createQueryClient ( )
@@ -619,9 +617,8 @@ describe('ReactQueryDevtools', () => {
619
617
initialIsOpen : true ,
620
618
} )
621
619
622
- const sortCombobox : HTMLSelectElement = screen . getByLabelText (
623
- / S o r t q u e r i e s / i
624
- )
620
+ const sortCombobox : HTMLSelectElement =
621
+ screen . getByLabelText ( / S o r t q u e r i e s / i)
625
622
expect ( sortCombobox . value ) . toEqual ( Object . keys ( sortFns ) [ 1 ] )
626
623
627
624
expect ( screen . getByRole ( 'button' , { name : / D e s c / i } ) ) . toBeInTheDocument ( )
@@ -649,9 +646,8 @@ describe('ReactQueryDevtools', () => {
649
646
initialIsOpen : true ,
650
647
} )
651
648
652
- const filterInput : HTMLInputElement = screen . getByLabelText (
653
- / F i l t e r b y q u e r y h a s h / i
654
- )
649
+ const filterInput : HTMLInputElement =
650
+ screen . getByLabelText ( / F i l t e r b y q u e r y h a s h / i)
655
651
expect ( filterInput . value ) . toEqual ( 'posts' )
656
652
} )
657
653
0 commit comments