-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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(browser): make sure that empty results array is still recognized #3486
Conversation
✅ Build karma 222 completed (commit 352e1d19fd by @devoto13) |
✅ Build karma 223 completed (commit 352e1d19fd by @devoto13) |
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 would like to understand the motivation better: this changes behavior in the case that result has zero length. We don't refresh the timer for example.
You're right. I haven't really looked around the check. I'll investigate if it may cause unintended side effects. |
@johnjbarton I'm pretty sure this will not have unintended side effects. The only case which behaves differently is when result is
Let me know if you still want me to remove the |
yes let's call the refresh. |
Otherwise empty array is treated as a single value, which causes issues down the road.
35029ad
to
37efa6a
Compare
✅ Build karma 229 completed (commit c9b7cf288a by @devoto13) |
✅ Build karma 228 completed (commit c9b7cf288a by @devoto13) |
@johnjbarton Done |
## [5.0.4](v5.0.3...v5.0.4) (2020-04-30) ### Bug Fixes * **browser:** make sure that empty results array is still recognized ([#3486](#3486)) ([fa95fa3](fa95fa3))
🎉 This PR is included in version 5.0.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…arma-runner#3486) Otherwise empty array is treated as a single value, which causes issues down the road.
## [5.0.4](karma-runner/karma@v5.0.3...v5.0.4) (2020-04-30) ### Bug Fixes * **browser:** make sure that empty results array is still recognized ([karma-runner#3486](karma-runner#3486)) ([fa95fa3](karma-runner@fa95fa3))
Otherwise empty array is treated as a single value, which causes issues down the road.