Baseflow / Baseflow/flutter_cached_network_image
Export FileSystem to allow testing of the CacheManager
Open
- Dominant language
- Dart
- Stars
- 2.6k
- Forks
- 731
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
## 🏗 Enhancement Proposal
Our project extends CacheManager which allows for a Config object to be passed in. We are unable to test it because we can not mock FileSystem as it's not an export to the package. If this was exported then a mocked FileSystem could be passed in.
### Pitch
Export the FileSystem abstraction to allow tests to happen at the cache manager level. Right now, it is not available to external packages.
### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.