1- import { fireEvent , screen , waitFor } from '@testing-library/react-native' ;
21import type * as Navigation from '@react-navigation/native' ;
2+ import { fireEvent , screen , waitFor } from '@testing-library/react-native' ;
33import type { OnyxCollection } from 'react-native-onyx' ;
44import Onyx from 'react-native-onyx' ;
55import { measureRenders } from 'reassure' ;
@@ -350,8 +350,7 @@ describe('SidebarLinks', () => {
350350 const scenario = async ( ) => {
351351 await screen . findByTestId ( 'lhn-options-list' ) ;
352352 const firstReportID = '1' ;
353- const currentArchivedStatus =
354- reportNameValuePairs [ `${ ONYXKEYS . COLLECTION . REPORT_NAME_VALUE_PAIRS } ${ firstReportID } ` ] ?. private_isArchived ;
353+ const currentArchivedStatus = reportNameValuePairs [ `${ ONYXKEYS . COLLECTION . REPORT_NAME_VALUE_PAIRS } ${ firstReportID } ` ] ?. private_isArchived ;
355354 await Onyx . merge ( `${ ONYXKEYS . COLLECTION . REPORT_NAME_VALUE_PAIRS } ${ firstReportID } ` , {
356355 private_isArchived : currentArchivedStatus === 'true' ? 'false' : 'true' ,
357356 } ) ;
@@ -362,8 +361,7 @@ describe('SidebarLinks', () => {
362361 } ) ;
363362
364363 test ( '[SidebarLinks LHN] scaling test – initial render with 500 reports' , async ( ) => {
365- const { reports, reportActions, reportNameValuePairs, policies, personalDetails, reportMetadata} =
366- createReportsWithActions ( 500 ) ;
364+ const { reports, reportActions, reportNameValuePairs, policies, personalDetails, reportMetadata} = createReportsWithActions ( 500 ) ;
367365
368366 const scenario = async ( ) => {
369367 await screen . findByTestId ( 'lhn-options-list' ) ;
0 commit comments