Jul 20, 2017 · 1 min read
The thing I don’t like about this is that you’re testing against your locally saved json, which, in some time, definitely won’t be the same as the one returned by the api. This means you’ll have to manually maintain the jsons that are returned from the api. If your app isn’t too large, I guess that’s doable.