Join Slack
Powered by
Do listeners work in Kotlin/JS? I get Uninitialize...
# kotest
i
Ivan Pavlov
03/26/2022, 10:40 AM
Do listeners work in Kotlin/JS? I get UninitializedPropertyAccessException for lateinit property which should be initialized in
beforeSpec
. It works in JVM
s
sam
03/26/2022, 1:22 PM
Don't think late innit will work
i
Ivan Pavlov
03/26/2022, 2:05 PM
Why not? Is it possible to init something beforeSpec and clean resources afterSpec?
3
Views
Open in Slack
Previous
Next