-
Notifications
You must be signed in to change notification settings - Fork 931
Fix tests on windows #606
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 tests on windows #606
Conversation
|
Looks like we need to sort the output in the init e2e test |
|
The tests that check |
|
Last failure left |
| } | ||
|
|
||
| await fs.emptyDir(directory); | ||
| fs.emptyDirSync(directory); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder, why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using await causes hang on Windows, that's why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Geez, Windows is so weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It indeed is. 😂😂
Summary:
This fixes all the failing tests on Windows.
Test Plan:
Ran
yarn teston Windows and everything passed.