I just started messing around with multiplatform a...
# multiplatform
k
I just started messing around with multiplatform and have a little example compiling. I wrote a couple common tests and one is failing. I cannot figure out how to get more info (stdout/stderr) or some kind of logging for my tests. I've spent a bunch of time looking for an example or docs and haven't found anything yet. Any help would be greatly appreciated. Thanks!
t
printl()
works on all platforms
furthermore i had the same issue where the failing test was on JS. I wrote an
expect fun debug()
in
commonTest
, wrote some to the test and in
jsTest
implemented it like
actual fun debug(){ js("debugger;") }
k
Wow, sorry. I swear I didn't see the output from println() before. Thanks for the reply and making me try it again. 🙂
Also, thanks for the JS tip.