mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
fix(journey): hold the client gates on the journey map changes
The phone card logic moves out of JourneyMap into useEntryCard, which brings the component back under the line limit. The new card tests reach the card element through a guard instead of non-null assertions, the public hook test reads the hook through renderHook, the GL card tests use mock.lastCall where Array#at is outside the client's lib, and the complexity baseline drops to the count the branch now holds.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"@typescript-eslint/no-non-null-assertion": 382,
|
||||
"@typescript-eslint/no-misused-promises": 847,
|
||||
"no-console": 88,
|
||||
"complexity": 219,
|
||||
"complexity": 218,
|
||||
"@typescript-eslint/no-explicit-any": 146,
|
||||
"trek/no-swallowed-catch": 129,
|
||||
"max-params": 32,
|
||||
|
||||
Reference in New Issue
Block a user