Hi all.. I’m running tests with MockEngine and I h...
# ktor
s
Hi all.. I’m running tests with MockEngine and I have a engineConfig like this
Copy code
val responseOkconfig: HttpClientEngineConfig.() -> Unit =  { addHandler { respondOk() }}
However, I get
Unresolved reference: addHandler
error . Can anyone help me tell whats wrong with the code. I have imported io.ktor.client.engine.mock.*