Skip to content

[code-infra] Fix console.warn during test#47802

Merged
Janpot merged 2 commits intomui:masterfrom
Janpot:fix-test
Feb 18, 2026
Merged

[code-infra] Fix console.warn during test#47802
Janpot merged 2 commits intomui:masterfrom
Janpot:fix-test

Conversation

@Janpot
Copy link
Copy Markdown
Member

@Janpot Janpot commented Feb 17, 2026

The best way to handle console.warns in tests is to set up your test env to ignore or expect them. Better than altering your code to behave differently under test. Or to rely on the libraries you use to do that for you.

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Feb 17, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Feb 17, 2026

Netlify deploy preview

https://deploy-preview-47802--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against bcf5de1

@Janpot Janpot marked this pull request as ready for review February 18, 2026 09:58
@Janpot Janpot mentioned this pull request Feb 18, 2026
1 task
Copy link
Copy Markdown
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Also, let's see what the community says on #47792.

@Janpot Janpot merged commit 9b71b11 into mui:master Feb 18, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants