Increase test coverage for search.dart#9795
Increase test coverage for search.dart#9795kenzieschmoll wants to merge 7 commits intoflutter:masterfrom
search.dart#9795Conversation
There was a problem hiding this comment.
Code Review
This pull request adds build/ to the .gitignore and significantly expands test coverage for search and autocomplete functionality in devtools_app. It introduces new tests for match navigation, search resetting, debouncing, and autocomplete logic, along with widget tests for search fields. Feedback suggests using fakeAsync for more reliable tests, passing RegExp objects directly for idiomatic string matching, and replacing a GlobalKey getter with a final field to avoid Flutter anti-patterns.
There was a problem hiding this comment.
Do we need to just send out a PR that re-formats all files?
There was a problem hiding this comment.
I think what we need to do is include the tool/ directory in the CI formatting check. Right now I believe it is omitted.
Fixes #3514.