Hey guys, Any update on a compatible mocking libra...
# javascript
c
Hey guys, Any update on a compatible mocking library for Kotlin/JS? Already tried Mockk, but seems that's not supported yet.
b
JS doesn't have reflection, so the only way you could achieve mocking there is via compiler plugin (API is still experimental). Otherwise things you can do at runtime are very limited. Don't think there's anything better than Mockk for kotlin.js mocking right now.
c
Alright got it. Thanks! 👍🏾👍🏾👍🏾
b
I recommend sticking to good old stubbing for KMP tests.
🙌🏾 1
c
Yup, my thoughts exactly