diff --git a/src/components/Match/MatchContainer.tsx b/src/components/Match/MatchContainer.tsx index 4296cbcea..a4d7cfed9 100644 --- a/src/components/Match/MatchContainer.tsx +++ b/src/components/Match/MatchContainer.tsx @@ -108,7 +108,10 @@ const reducer = ( state: State, action: Action ): State => { offlineFetchStatus: FETCH_STATUSES.FETCH_STATUS_LOADING, scoreImageParams: action.scoreImageParams, shouldUseEvidenceLocation: action.shouldUseEvidenceLocation, - queryKey: setQueryKey( action.scoreImageParams.image.uri, action.shouldUseEvidenceLocation ), + queryKey: setQueryKey( + action.scoreImageParams.image.uri, + action.shouldUseEvidenceLocation, + ), }; case "ORDER_SUGGESTIONS": return { diff --git a/src/uploaders/utils/realmSync.ts b/src/uploaders/utils/realmSync.ts index 1f9cd4d6a..a4caa1ebd 100644 --- a/src/uploaders/utils/realmSync.ts +++ b/src/uploaders/utils/realmSync.ts @@ -99,6 +99,7 @@ const markRecordUploaded = ( if ( !record ) { throw new Error( + // eslint-disable-next-line max-len `Cannot find local Realm object to mark as updated (${type}), recordUUID: ${recordUUID || ""}`, ); } diff --git a/tests/integration/navigation/broken/MediaViewer.test.js b/tests/integration/navigation/broken/MediaViewer.test.js index 48027a221..78cf6bab5 100644 --- a/tests/integration/navigation/broken/MediaViewer.test.js +++ b/tests/integration/navigation/broken/MediaViewer.test.js @@ -115,7 +115,9 @@ describe( "MediaViewer navigation", ( ) => { expect( obsEditPhotos.length ).toEqual( observation.observationPhotos.length ); await act( async ( ) => actor.press( obsEditPhotos[0] ) ); expect( - await screen.findByTestId( `CustomImageZoom.${observation.observationPhotos[0].photo.url}` ), + await screen.findByTestId( + `CustomImageZoom.${observation.observationPhotos[0].photo.url}`, + ), // We used toBeVisible here but the update to RN0.77 broke this expectation ).toBeOnTheScreen( ); } ); @@ -126,7 +128,9 @@ describe( "MediaViewer navigation", ( ) => { expect( obsEditPhotos.length ).toEqual( observation.observationPhotos.length ); await act( async ( ) => actor.press( obsEditPhotos[1] ) ); expect( - await screen.findByTestId( `CustomImageZoom.${observation.observationPhotos[1].photo.url}` ), + await screen.findByTestId( + `CustomImageZoom.${observation.observationPhotos[1].photo.url}`, + ), // We used toBeVisible here but the update to RN0.77 broke this expectation ).toBeOnTheScreen( ); expect(