How can org.jetbrains.kotlin.js projects consume common libs?

Hi Kotlin JS Team,

thanks for updating the docs at https://kotlinlang.org/docs/reference/js-project-setup.html

I am trying to lift my project to the “org.jetbrains.kotlin.js” plugin to get better test support but I noticed that the “expectedBy” dependency scope is not working anymore. If I add my common module with “implementation” scope instead the compiler complains about missing “expected” declarations in all my actual classes.

How can I consume a common lib with expected declarations from the new JS plugin?

Thanks and kind Regards