kslidesTest

fun kslidesTest(block: KSlides.() -> Unit): KSlides

Convenience wrapper around buildKSlides for tests: evaluates the DSL with both OutputConfig.enableFileSystem and OutputConfig.enableHttp forced to false, so no files are written and no server is started. The instance is closed before it is returned, releasing the HTTP client a diagram{} deck may have created.

Parameters

block

the same configuration block accepted by kslides.