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] Enable failing unexpected console warn|error in browser tests #23063

Merged
merged 3 commits into from
Oct 15, 2020

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Oct 15, 2020

Should be safe now that we've dropped Safari < 13. Will start failing the test suite if we go back to Safari 10.

Polyfills root-level hooks for karma-mocha. We use dependency injection for mocha in the browser. Their browser build is not importable and from the issues I looked at in their repo (mochajs/mocha#4278, mochajs/mocha#2448) they insist that this is fine.

Examples:

@eps1lon eps1lon added the test label Oct 15, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Oct 15, 2020

No bundle size changes comparing 777c1a1...81625e5

Generated by 🚫 dangerJS against 81625e5

@eps1lon eps1lon merged commit fd1c050 into mui:next Oct 15, 2020
@eps1lon eps1lon deleted the test/browser-console-throw branch October 15, 2020 10:01
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.

3 participants