mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 03:26:07 +00:00
chore: keep the audit follow-ups within the lint and format ratchets
The bringers list moves next to the other bringer helpers so the card file exports components only, three tests read without non-null assertions or any, and three files take the formatting their checks expect.
This commit is contained in:
@@ -506,6 +506,8 @@ describe('MapView on a real Leaflet map', () => {
|
||||
return found as L.Marker | null
|
||||
}
|
||||
await waitFor(() => expect(marker()?.getLatLng().lng).toBeCloseTo(23.73, 6))
|
||||
expect(map.getBounds().contains(marker()!.getLatLng())).toBe(true)
|
||||
const drawnMarker = marker()
|
||||
expect(drawnMarker).not.toBeNull()
|
||||
expect(drawnMarker && map.getBounds().contains(drawnMarker.getLatLng())).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user