From b26651e337af295dbe98ec8e1386380c803accbc Mon Sep 17 00:00:00 2001 From: Brent Kelly Date: Fri, 9 Aug 2024 11:29:11 +1200 Subject: [PATCH] update heading for testing modals --- packages/actions/docs/09-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/actions/docs/09-testing.md b/packages/actions/docs/09-testing.md index 6501667db4..494598a674 100644 --- a/packages/actions/docs/09-testing.md +++ b/packages/actions/docs/09-testing.md @@ -86,7 +86,7 @@ it('stops sending if invoice has no email address', function () { }); ``` -## Testing modal content +## Testing modals To assert against the content of a modal, you should first mount the action (rather than call it which resolves the modal). You can then use [livewire assertions](https://livewire.laravel.com/docs/testing#assertions) such as `assertSee` to assert the modal has rendered as you expect: