Open pepoospina opened 1 week ago
Hey @weswalla, the fix seems to work for a hard-coded number of posts. This is useful for UI development in most part. One other requirement I wanted the mock to have was to be able to simulate a new post, to test, locally, the behavior of the autopost, feed update, etc.
There are some tests that assume this feature exist. So that if you call publish() then the post will be returned on the next fetch().
This means that this fix would let us have local development with hardcoded tweets but we would loose those tests.
Or maybe I'm missing something?
Create PR to discuss about this fix