Testing TextInputColumn

I have almost 100% test coverage, I only can't find a way to test the TextInputColumn updateStateUsing callback. Anyone has done this already?
5 Replies
Dan Harrin
Dan Harrin2y ago
we dont have helpers for editable columns yet so you can either PR the helper methods yourself or interact with the livewire testing helpers and work out what methods are getting called when a column is updated
Jyrki
JyrkiOP2y ago
Ok, will see what I can come up with and if it's worth to PR it
gizmojo
gizmojo13mo ago
Just come looking for the same. Did you find a way of testing this @Jyrki
Jyrki
JyrkiOP13mo ago
I had a trick for v2 https://v2.filamentphp.com/tricks/test-an-editable-field, but did not need it yet for v3. So no idea if it will work
gizmojo
gizmojo13mo ago
Awesome cheers
Want results from more Discord servers?
Add your server