We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A recent change no longer async throws these errors, but relying on that to fail the test was always brittle.
It would be great if we could add a device to expect error logs and fail tests if they don't do so.
The text was updated successfully, but these errors were encountered:
In #14336, a stub was checked in for console.error that would throw an error when called from within a test.
console.error
It turns out that a more elegant way of doing this is via a mock. Coming up via #14432.
Sorry, something went wrong.
allowConsoleError
rsimha
Successfully merging a pull request may close this issue.
A recent change no longer async throws these errors, but relying on that to fail the test was always brittle.
It would be great if we could add a device to expect error logs and fail tests if they don't do so.
The text was updated successfully, but these errors were encountered: