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

report(test): throw on axe error #13234

Merged
merged 2 commits into from
Oct 20, 2021
Merged

report(test): throw on axe error #13234

merged 2 commits into from
Oct 20, 2021

Conversation

paulirish
Copy link
Member

something i found while working on #13123

if there is an error in the axe test... jest will report that error but then it'll sit idle until it hits the 100s timeout.
https://github.com/GoogleChrome/lighthouse/runs/3956037809#step:11:385

we want the test to fail immediately if there's a failure in there.

i swapped to async/await and verified any failures within the test throw and exit as expected.

@paulirish paulirish requested a review from a team as a code owner October 20, 2021 20:08
@paulirish paulirish requested review from adamraine and removed request for a team October 20, 2021 20:08
@google-cla google-cla bot added the cla: yes label Oct 20, 2021
@devtools-bot devtools-bot merged commit b745a79 into master Oct 20, 2021
@devtools-bot devtools-bot deleted the axetestasync branch October 20, 2021 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants