New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle absolute paths on Windows #251
Comments
Do you mean we simply transform something like |
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 All other files are served as |
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: 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. (codymikol/karma-webpack#396) I would keep looking for the problem. |
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
.The text was updated successfully, but these errors were encountered: