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 }}
Repository navigation
Call ApiClientFactory.createApiClient from TestUtils.createApiClient #1181
TestUtils.createApiClient is doing about the same thing than ApiClientFactory.createApiClient except that its input is ServerConfig serverConfig.
So to avoid duplicate code TestUtils.createApiClient can simply call ApiClientFactory.createApiClient to construct the api client.
Activity
refactor(server): route TestUtils.createApiClient through ApiClientUtils
refactor(server): clean up TestUtils
refactor(client): promote ApiClientFactory to the client module
refactor(client): promote ApiClientFactory to the client module
refactor(client): promote ApiClientUtils to public ApiClientFactory