Hey, I cannot find the way to configure MockEngine...
# ktor
d
Hey, I cannot find the way to configure MockEngine for testing http client. I want to use features along with a mock engine, but I cannot find the way to do it. this way:
Copy code
HttpClient(MockEngine) {
            install(JWTAuth) {

            }
        }
doesn't allow to set up the engine itself. While setting up MockEngine and passing the instance to http client doesn't allow me to install the feature
e
It looks like you're using server
JWTAuth
feature in client 🙂
d
nah, that's my own feature
that I made for client
d
cool, that's very helpful, thank you
I wish there was more docs on it