mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 21:33:19 +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:
@@ -740,7 +740,7 @@ describe('getMergedItems: bookings in different time zones (#2929)', () => {
|
||||
const laxSea = { ...toSeattle, endpoints: ends(LAX, SEA) }
|
||||
const stopAt = (id: number, time: string, lat: number, lng: number) =>
|
||||
({ id, order_index: id, place: { place_time: time, lat, lng } })
|
||||
const drawn = (dayAssignments: any[], dayTransports: any[]) =>
|
||||
const drawn = (dayAssignments: Parameters<typeof getMergedItems>[0]['dayAssignments'], dayTransports: Parameters<typeof getMergedItems>[0]['dayTransports']) =>
|
||||
getMergedItems({ dayAssignments, dayNotes: [], dayTransports, dayId: DAY })
|
||||
const labels = (items: MergedItem[]) => items.map(i => `${i.type}:${i.data.id}`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user