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
Writing tests for the main function of the sync plugin. That do the heavy job for requesting the child. Maybe we should break it down in smaller functions, so we can unit test them better.
The text was updated successfully, but these errors were encountered:
Class Child gets the following interface to handle Child sites:
Child( url ) constructor connects and retrieve posts from URL endpoint (/posts).
->sync() does the duty to make the mapping, saving unsaved or updated posts from URL
Writing tests for the main function of the sync plugin. That do the heavy job for requesting the child. Maybe we should break it down in smaller functions, so we can unit test them better.
The text was updated successfully, but these errors were encountered: