mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
fix(ci): bring the per-trip addon tests and ratchets in step
The second run of #3157 was red in six jobs: - Server types: ReminderJobsService takes AddonsService now; RJOB-007 built it with five arguments. - Server tests 2/10: the doc-sync job tests stubbed AddonsService without isEnabledForTrip, which the sync asks per trip now. - Client tests 4/10: toursPermissions mocked useAuthStore as a bare selector; tripAddonsStore keys its lists by account through getState. - Server lint (knip): TripAddonRow was exported without a reader outside its file. - Client lint and Client types: no-unused-vars and the strict errors in useTripPlanner.ts went down by one, so their entries are lowered.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"react-hooks/set-state-in-effect": 189,
|
||||
"@typescript-eslint/no-floating-promises": 162,
|
||||
"react-hooks/exhaustive-deps": 113,
|
||||
"@typescript-eslint/no-unused-vars": 121,
|
||||
"@typescript-eslint/no-unused-vars": 120,
|
||||
"react-hooks/immutability": 28,
|
||||
"max-lines-per-function": 127,
|
||||
"react-hooks/static-components": 50,
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
"src/pages/tripPlanner/usePlaceEdits.ts": 2,
|
||||
"src/pages/tripPlanner/usePlaceFormOpeners.test.ts": 2,
|
||||
"src/pages/tripPlanner/usePlaceFormOpeners.ts": 1,
|
||||
"src/pages/tripPlanner/useTripPlanner.ts": 2,
|
||||
"src/pages/tripPlanner/useTripPlanner.ts": 1,
|
||||
"src/repo/tripRepo.ts": 2,
|
||||
"src/store/slices/budgetSlice.test.ts": 1,
|
||||
"src/utils/formatters.test.ts": 1,
|
||||
|
||||
Reference in New Issue
Block a user