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

[test] Improve stack trace for unexpected errors #21818

Merged
merged 1 commit into from
Jul 19, 2020

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jul 17, 2020

Appends test path and test file to the unexpected error stack. Adding it to the beginning might hide it if the terminal is full due to excessive error messages (such as "missing act()"):

in "<Select />" -> "accessibility" -> "aria-expanded is not present if the listbox isnt displayed" (/home/eps1lon/Development/projects/mui/fork/packages/material-ui/src/Select/Select.test.js)

@eps1lon eps1lon added the test label Jul 17, 2020
@mui-pr-bot
Copy link

Details of bundle changes

Generated by 🚫 dangerJS against 7048d3e

@eps1lon eps1lon merged commit 05e9b94 into mui:next Jul 19, 2020
@eps1lon eps1lon deleted the test/unexpected-error-stack-trace branch July 19, 2020 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants