its really very unexpected that assert is not supp...
# test
c
its really very unexpected that assert is not supported in kotlin/js. is there any way to bump this ticket? https://youtrack.jetbrains.com/issue/KT-24471/Implement-assert-in-Kotlin-JS
e
I don't see any use for
assert
. it does weird
-ea
stuff on JVM and better alternatives like
check
,
require
,
assertTrue
, etc. are standard
c
The main use is in unit tests via (kotlin-) power assert
Like mentioned in the ticket
And it reads better than the alternatives that you mentioned