I'd like to write some tests for my kotlin/js code...
# javascript
a
I'd like to write some tests for my kotlin/js code in typescript, so that I can verify that I can call my lib that way I expect. I can create a whole new gradle subproject for this, but wondering if there is a simpler way to do it, where the typescript test source tree sits alongside my kotlin test source tree. How are other people approaching this?
h
I'm using kotest (https://kotest.io/). It works pretty well with Kotlin/JS.
a
yeah, that still leaves me writing tests in kotlin. I have a bunch of tests in kotlin, but I want to write some in typescript, to make sure that I'm exporting all the right things and it all looks good when I use my kotlin lib in a typescript project.
nice looking test framework, though 🙂