You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent quite some time figuring out why my tests were not found in the runner, I discovered that srcDir and specDir are joined with the project baseDir when finding the files...
In the server.js file, the userJs method, it uses getUrl that will always join this.projectBaseDir with the arguments...
It breaks when I pass absolute paths in the config file.
Would be nice to support them.
Thanks
The text was updated successfully, but these errors were encountered:
I'd be happy to review a PR that stops the base dir from being prepended to paths that are already absolute. In the meantime, you should probably be able to make it work by setting projectBaseDir to "/", at least if you're not on Windows.
I'd be happy to review a PR that stops the base dir from being prepended to paths that are already absolute. In the meantime, you should probably be able to make it work by setting projectBaseDir to "/", at least if you're not on Windows.
Nope, that is why posted the issue, it does not work with "/" at the beginning of the path.
I spent quite some time figuring out why my tests were not found in the runner, I discovered that srcDir and specDir are joined with the project baseDir when finding the files...
In the server.js file, the userJs method, it uses getUrl that will always join this.projectBaseDir with the arguments...
It breaks when I pass absolute paths in the config file.
Would be nice to support them.
Thanks
The text was updated successfully, but these errors were encountered: