Based on https://github.com/vojtajina/testacular/issues/249
Let's add another if (windows) and handle the absolute paths on windows to something like /absolute/c/path/to/file.js.
Do you mean we simply transform something like C:\Programs\Node to /absolute/C/Programs/Node?
I think I've found two modules that might be a good solution for resolving all the path issues cross platform.
They are very new but I think they exactly adress the problems we are facing.
In order to not expose full paths (when possible), Testacular serves all files from basePath as /base/....
All other files are served as /absolute/usr/local/..., which on windows results in /absoluteC:\whatever so we just need to deal with it.
Is there any workaround for this at the moment as it is preventing me from using Karma as my test runner.
Not that I know about sorry, but I hope to get this fixed soon
That's good to know, thanks for getting back to me so quickly.
Hey @dignifiedquire is there something I can do to help getting this corrected for the next release?
With karma v4.0.0 gives me the following error: [web-server]: 404: /absoluteC:/Users/..., I am not sure but is it possible that it is not creating the correct route?
Is there any workaround to make it work on windows?
Every commit is tested on Windows, eg https://ci.appveyor.com/project/dignifiedquire/karma/builds/22080177/job/oq6xvy45jl3fg0dx
So whatever problem you are having, it is not fundamental to karma.
Yeah, you are right, it could be a problem with the latest version of karma-webpack (alpha) because the previous one seems to work fine. (https://github.com/webpack-contrib/karma-webpack/issues/396)
I would keep looking for the problem.