push
github
Migrate to Redux Toolkit part 4 (#2843) * Migrate Achievement actions to RTK * Migrate Persistence actions to RTK * Migrate remaining Stories actions to RTK * Revert "Migrate Achievement actions to RTK" This reverts commit 66d0f4ab8. * Migrate some workspace reducers to new reducer * Migrate more workspace reducers to new reducer * Begin StoriesReducer migration * Create new reducer using `createReducer` from RTK * Migrate some reducers to new reducer * Create own copy of ActionType helper Facilitates the migration away from `typesafe-actions` package. * Create and use `generateAction` function in tests Part of migrating away from `typesafe-actions`. * Migrate most Achievement actions to RTK One remaining action creator is left to use the old library due to type errors that are left to investigate in a future commit. * Migrate FileSystemReducer to RTK * Migrate AchievementReducer to RTK * Update reducer typings Done in preparation for migration to RTK v2 and Redux v5. Also improves type safety of reducers. * Fix type errors with reducer tests Improves overall type-safety following the new reducer typings. * Fix SessionReducer tests * Fix format
1856 of 6009 branches covered (30.89%)
Branch coverage included in aggregate %.
67 of 86 new or added lines in 11 files covered. (77.91%)
4985 of 12851 relevant lines covered (38.79%)
22.07 hits per line