mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
fix(journey): two quick swipes in the photo viewer turn pages instead of zooming
A double tap counted every lift of a finger, the end of a swipe included, so two quick swipes zoomed in. Only a touch that stays in place is a tap now. The client tests follow the fields and arguments the qol sweep added.
This commit is contained in:
@@ -125,7 +125,7 @@ describe('MAtlasCountryPopup', () => {
|
||||
fireEvent.click(screen.getByText('atlas.addToBucket'))
|
||||
|
||||
await waitFor(() => expect(setConfirmAction).toHaveBeenCalledWith(null))
|
||||
expect(body).toEqual({ name: 'France', country_code: 'FR', target_date: '2027-05' })
|
||||
expect(body).toMatchObject({ name: 'France', country_code: 'FR', target_date: '2027-05' })
|
||||
expect(setBucketList).toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user