You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
We're currently relying on a black box implementation inside the data.Charts.Refresh method. For the data.cache.cachedCharts implementation of data.Charts specifically, we have an http.Get implementation that operates against the URLs in the knownRepos instance slice map.
Less specifically, what we want is to be able to pass an interface into Refresh so that we can provide a fetcher implementation that is backed by mock data, for tests. Until then we're relying on actual HTTP connections to the prod repos to test data.cache.
The text was updated successfully, but these errors were encountered:
We're currently relying on a black box implementation inside the
data.Charts.Refresh
method. For thedata.cache.cachedCharts
implementation ofdata.Charts
specifically, we have anhttp.Get
implementation that operates against the URLs in theknownRepos
instance slice map.Less specifically, what we want is to be able to pass an interface into
Refresh
so that we can provide a fetcher implementation that is backed by mock data, for tests. Until then we're relying on actual HTTP connections to the prod repos to testdata.cache
.The text was updated successfully, but these errors were encountered: