Closed MerryCello closed 3 months ago
please also add tests
Ci is failing
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.27%. Comparing base (
a30f8d2
) to head (7e432d0
). Report is 7 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@arthurfiorette, I added some tests and fixed the failing ones. I also added some comments as replies above that may have been missed. If you could review those, that would be great.
thanks for your work!
This PR is an attempt to add the request response "stale" flag that is present in the axios-cache-adapter. This flag says whether or not the response is from staled cache. This would be returned along with the "cached" flag. Please let me know if there's anything that I'm missing.