Jan 26, 2023
I would pass the HTTP client to the `mockApplication` function alongside the mocks:
`
fun ApplicationTestBuilder.mockApplication(
client: HttpClient,
...
)
`
That way configuration of your client is decoupled from the configuration of your test server.
Hope that helps!