Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add console error assertions #4

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Conversation

joshhanley
Copy link
Owner

This adds 4 new assertions:

  • assertConsoleLogHasErrors()
  • assertConsoleLogMissingErrors()
  • assertConsoleLogHasError($message)
  • assertConsoleLogMissingError($message)

Default favicon error message is filtered out of the first two assertions but can be included by passing true into them.

image

@joshhanley joshhanley merged commit f99bbb7 into main Jul 16, 2024
14 checks passed
@joshhanley joshhanley deleted the feature/console-error-assertions branch July 16, 2024 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant