is there a way to use `withTestApplication` with `HoconApplicationConfig` instead of `MapApplication...
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