Hmm, seems like tests run on `<root_dir>/bui...
# javascript
a
Hmm, seems like tests run on
<root_dir>/build/js
where the resources are not copied, is it intended behavior??
t
Which resources do you mean?
a
resources in js sourceset 🤔
t
src/main/resources
dir?
a
src/jsMain/resources
or one I actually defined manually as you can see in the top most post/message
sourceSets.getByName("jsMain").resources.srcDir("some custom path")
<< This gets picked up in the Jar output in
build/libs/project-<version>-js.jar
. This doesn't seem to work when it runs from gradle, as it runs from the
build/js
directory where there doesn't seem to be any resources copied.
And basically jsTest fails 😛
t
What about test (not main) resources configuration?
Does it work?
a
Lemme try 😅
Nope, nothing was copied either
t
What about task configuration?
a
It still doesn't work in my case blob thinking upside down, I'm on Kt 1.4.21