mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +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:
@@ -108,7 +108,7 @@ describe('DayHeader', () => {
|
||||
const tileDate = (time_format: string, date_format: string): string | null => {
|
||||
useSettingsStore.setState({ settings: { distance_unit: 'metric', time_format, date_format } as never })
|
||||
const { container, unmount } = wrap(<DayHeader day={day({ date: '2026-10-05' })} />)
|
||||
const text = container.querySelector('time')!.textContent
|
||||
const text = container.querySelector('time')?.textContent ?? null
|
||||
unmount()
|
||||
return text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user