issue: ENG-5810
I added a helper function removeKeyserverThreadIDsFromFilterList, which removes thread ids of theads reladted to given keyservers from calendar filters.
This function is very similar to previously existing removeDeletedThreadIDsFromFilterList, so I extracted the common code
Details
Details
ran the provided tests. The tests for removeDeletedThreadIDsFromFilterList are not very exhaustive, but they check that the functinon didn't stop working as a result of my changes.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/reducers/calendar-filters-reducer.test.js | ||
---|---|---|
143–144 | Nit: shouldn't this be like keyserverIDToRemove? |