christophrumpel / missing-livewire-assertions

Adding the missing Livewire assertions to your Laravel project
MIT License
136 stars 25 forks source link

assertPropertyWired is not recognizing the boolean extension to wire:model #37

Open pikepa opened 7 months ago

pikepa commented 7 months ago

I have implemented this in many of my recent tests, however I found that when assertingPropertywired against a property with wire:model.boolean this was not recognised. Checking the src code here I can see ' boolean' is not one of the options.

I am happy to try (it would be my first time) to submit a pull request if you agree that my aforementioned is correct.

christophrumpel commented 7 months ago

Hey, glad you like the package. Looks like I missed that, indeed. A Pull Request and a test for this would be perfect 🙏