Has there been any fix for accessing resources whe...
# javascript
m
Has there been any fix for accessing resources when running a test ( https://youtrack.jetbrains.com/issue/KT-42923 )? Am still getting 404 on resources.
So I was able to use the workaround from the discussion on the tracker: https://github.com/DaanVandenBosch/kotlin-js-karma-resources-test/tree/fix Honestly I can't see why loading resources (as happens with production/development mode runs) isn't the default behavior in tests.
a
@Ilya Goncharov [JB] ^^
i
Hi, yes, it is actual bug. The difference between “run” and test in this case, is that in
run
webpack-dev-server is serving application, but in test Karma just bundle application and then run it by its own. Maybe I can have a look on this issue one more time soon
gratitude thank you 1