Eli
Eli
I don't know the "right" way to fix it, but I know the issue, and from there a somewhat hacky solution :) Combobox virtualization can't be tested right using Jest...
pnpm uses `pnpmx` and Bun uses `bunx` shorthands, which are both shorter and easier to remember, though there have been bugs with the shims not getting installed in the past....
> `bunx` has bugs in windows. Ah, didn't know that. I only use it on macOS. > `pnpmx` does not exists, it's either `pnpm exec` or `pnpm dlx`. Sorry, typo....
Hello! I stumbled upon this looking to see if anyone else had written some widget-finder-with-checks tests. I didn't see any here, so I went ahead and wrote my own: https://github.com/PHS-TSA/our_democracy/commit/8731bbf37e861ea46cd6bdd28e103bfb5bbe6cfb#diff-fd2549beda0a78cbca448d282c13fd259d03f2bbeb229f978e77a66afe2df8d1...
So you'd want an API like this? ```dart check(find.whatever()).findsOneWidget(); ``` or: ```dart check(find.whatever()).legacyMatcher(findsOneWidget); ``` Or, I suppose, `.findsOneWidget()` as typesafe sugar for `.legacyMatcher(findsOneWidget)`? Just figure I might as well make...
I couldn't figure out async matchers, but here's an impl for sync matchers, @gnprice. You can pass async matchers, and they pass, but I think it's mostly a noop. Tested...
Ok, wrote two basic packages, including async support. I'll probably publish it to pub at some time, any permissive license would work for y'all if it's external, right? Given it's...
@gnprice, does (& ) work for y'all?
> Neat, thanks for building this! You're welcome! 😁 > So for the example in my original description above Yup, exactly! > how does the output for some example compare...
I just got around to pushing and publishing [`[email protected]`](https://pub.dev/packages/flutter_checks). It now supports all matchers from `flutter_test`.