-
Notifications
You must be signed in to change notification settings - Fork 47
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
fix: add root node_modules to import commands when running pnpm #1482
Conversation
@ninadbstack @shantanuk-browserstack This is an important fix for my company. Is there anything I can do to get it reviewed/merged? I tried running the Unit Tests locally to improve the test coverage but I wasn't able to. I receive multiple errors. |
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
@felipeplets thanks for raising the PR for fix [ and thanks for raising a support ticket, we had missed this pr ] As spec coverage has reduced post this, we are thinking if we can fix it [ it depends on the env setup so might be slightly harder. Give us some time and we would look into same. |
@ninadbstack thank you. Is there any setup or steps I should take to run the unit tests locally? I tried doing it so that I could add the necessary coverage but haven't had success. |
@felipeplets ideally most of the test cases should run locally without issues. Its just Its just that looking at the implementation that you have, you are basically looking at To test this, we need a mock fs as percy cli test agents do not have |
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
@ninadbstack I tried a couple of things but I still can't run the tests locally. Here are the versions I am using:
The commands I ran:
The
For testing only the CLI I used
|
I got it. The errors were due to me using newer node versions. Using the same that runs in the repository GitHub workflows (14.21.3) the tests run. |
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This PR was closed because it has been stalled for 28 days with no activity. |
Any chance this can be reopened? Also seeing this issue |
@EWhite613 we can reopen this, the PR was auto closed due to no activity and missing tests. That said if you want percy team to prioritize this please raise a support ticket for the same. [ Or feel free to send a PR with tests so that we can verify and get it merged ] |
@ninadbstack I opened a new PR including the Unit Tests #1643 |
fixes 1481