[api] Preparing sync function to support unit testing Couldn't find an easy way to mock a method called in a HTTP request handler So I'm checking the current environment to see if we are running tests if so we should ignore the call to ipfs, as we don't want to have dependencies on external services for the UT
[api] Preparing sync function to support unit testing
Couldn't find an easy way to mock a method called in a HTTP request handler
So I'm checking the current environment to see if we are running tests
if so we should ignore the call to ipfs, as we don't want to have dependencies on external services for the UT

danielfranca/BITNATION-Panthalassa