Skip to content

feat: add html assertions#25

Open
kbond wants to merge 1 commit into
zenstruck:1.xfrom
kbond:email-assertions
Open

feat: add html assertions#25
kbond wants to merge 1 commit into
zenstruck:1.xfrom
kbond:email-assertions

Conversation

@kbond

@kbond kbond commented Apr 5, 2023

Copy link
Copy Markdown
Member

Adds fluent email html assertions:

$this->mailer()->sentEmails()->last()
    ->html()
        ->containsIn('h1', 'some title')
        ->containsIn('p', 'some text')
;

TODO:

  • use 1.0 zenstruck/assert-html

@kbond kbond added the enhancement New feature or request label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant