Hi, I'm trying to set up Knit tests for some scrip...
# scripting
a
Hi, I'm trying to set up Knit tests for some scripts. I've set up the 'scripting host' as documented on kotlinlang.org, and it works when I run it manually. But when I run it as a test (using Kotest), I get an exception
Copy code
java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl.<init>(org.jetbrains.kotlin.com.intellij.psi.PsiManager)'
I'm not sure what the problem could be, or how to try and find out. Any ideas?
here's the full stacktrace
and here's the source code (without the test 'main' method) https://github.com/aSemy/github-actions-kotlin-dsl/pull/1/files
i
Please, file an issue - https://kotl.in/issue.
a
I've narrowed down the problem as something to do with kotlinx-knit https://github.com/Kotlin/kotlinx-knit/issues/41
🙏 1