is there a way to use `withTestApplication` with `...
# ktor
z
is there a way to use
withTestApplication
with
HoconApplicationConfig
instead of
MapApplicationConfig
?
б
Yes.
Copy code
withApplication(createTestEnvironment {
    this.config = HoconApplicationConfig(ConfigFactory.load("test.conf"))
}) {
    application.main()
}
👍 1