Skip to content
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

[BUG] node_modules/.bin/web-test-runner: No such file or directory #3

Open
gavinbarron opened this issue Oct 26, 2023 · 2 comments
Open

Comments

@gavinbarron
Copy link

I have a mono repo, @web/test-runner is a dev dep in the root package,json file I tests in multiple packages, so the installation of @web/test-runner is hoisted to the root of the mono repo.

Using the code lens to trigger a test run results a terminal opened with a cd to the directory for the package, and attempts to invoke the test runner.

I suggest a config option to set the directory in which the test run will attempt to start in, not providing this should use the current default behavior

@Manish3323
Copy link
Owner

Thanks for trying the extension out..
Your suggestion is valid.
Unfortunately, I am kind of out of time for next few weeks. I'll try to add this option soon as possible.

@Manish3323
Copy link
Owner

Hi @gavinbarron,
I have just published v0.0.21 to support test-runner.config-directory configuration.
This configuration expects the path of the directory where wtr's config file is present.

+  "test-runner.config-directory": "/Users/manish/test-repo"

Please try it and let me know if that helps or not.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants