-
Notifications
You must be signed in to change notification settings - Fork 54
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: only count something as a directory if it has children #4595
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
64e8740
to
1e16611
Compare
I also just pushed a change to my branch that updates the e2e tests in the |
Oh, so, this line is never resolving because the span with that test id doesn't get rendered if there are 0 folders |
There aren't currently any tests actually using the folder count, so deleting it would be an option. I did push another fix that I think would fix it. I can't actually run the e2e tests based on the info in the readme afaik |
If it doesn't work, I think removing the folder count from the helper and only using it where we explicitly want to assert the value is a good option. |
Okay, I removed the folder count. Hopefully that's the last thing |
e3a445e
to
e16eb2b
Compare
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.
Thanks @TomPridham and @jtran!
Replaces #4556. Working around CI limitation.
Closes #4515.