theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

Use non-relative internPath for configuration #1183

Open dstaley opened 3 years ago

dstaley commented 3 years ago

When using Intern in a workspace environment, the node_modules folder containing intern might be in one of several places. When running browser tests, the internPath is a relative path that may or may not actually resolve to the correct location. However, the server already has a static path that resolves correctly regardless of location. This PR updates the internPath variable to always point to this static path, which ensures that things are able to be resolved regardless of the location of the node_modules folder.