Is there an easy way to access test resources whil...
# javascript
b
Is there an easy way to access test resources while running tests in kotlin JS?
d
Easy? No. If you're targeting node you can just read them from the filesystem, bit you might have to copy the resources to a more accessible location. If you're targeting the browser, I haven't seen anyone get it working yet, but I assume it is possible if you mess around with the test runner configuration and copy some files to the right place..
b
Oh, that's a shame. 😕
Welp, time for some hardcoded strings.
Thanks for the info though!