-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
update yeoman-test to v9. #27247
update yeoman-test to v9. #27247
Conversation
Failure is caused by api request, but there is no sample in linked issue. |
@emilpaw mocha cleanup hooks that I’ve added to yeoman-test:
yeoman-test cleanups current environment before a new context is created (a new test is run) or on some exit signals.
In the end manually forcing a yeoman-test cleanup fixes the issue. |
Thanks for the info @mshima. I also was not able to find a minimal reproducible example, even after writing a script to automate searching for one. It seemed to require most of the tests and for sure |
Added a mocha cleanup hook that cleanup yeoman-test context on after.
Mocha seems to somehow reuse a fork pwd when creating a new fork.
Fixes #27019.
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (below reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.