how do you define runtime dependencies for commonj...
# javascript
r
how do you define runtime dependencies for commonjs modules? In the sense of: I have defined a
testCompile
dependency in my build.gradle and due to the decoupling way it is designed kotlin cannot know that it needs to pass the corresponding module to the module under test. My workaround is to define a file under test which calls
js("require(...)")