Hi, is there a multiplatform way of capturing stdout from `println(...)`? I'm writing unit tests us...
a
Hi, is there a multiplatform way of capturing stdout from
println(...)
? I'm writing unit tests using Knit, and I want to verify the output is the same on as many platforms as possible. Ideally at least JS and JVM. Here's one of the tests. Kotest has
captureStandardOut(...)
, but it's JVM only