I think what this is doing is similar to what I had a branch up for. Basically, our compiler plugin would scans for specs, like it does today, and generate a big JS file that does something like:
TestEngine.runWithAllSpecs(a,b,c,d,e,f)
And then from gradle we just launch nodejs with that file.
By doing that we don't need mocha or anything, and we'd get full Kotest support in JS.
Same for Native, except it's just a binary that we launch as a process.
Wasm I know zero about, but I assume we can just run the generated file in the same way, using whatever process is used to execute wasm.