Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[test] Remove dead act() logic #14529

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Sep 7, 2024

setProps() seems to call https://github.com/mui/material-ui/blob/dcc17031aa37b251678c39628b15637ec758d6b4/packages-internal/test-utils/src/createRenderer.tsx#L316 which seems to call https://github.com/testing-library/react-hooks-testing-library/blob/1e01273374af4e48a0feb1f2233bf6c76d742167/src/dom/pure.ts#L22 so this looks like dead code.

This was added in #8097.

I have noticed this in #14442 while I was quickly checking the CLA signed workflow, I looked at the PR diff and this seemed odd to me.

@oliviertassinari oliviertassinari changed the title [test] Remove dead act( logic [test] Remove dead act() logic Sep 7, 2024
@oliviertassinari oliviertassinari added test component: data grid This is the name of the generic UI component, not the React module! labels Sep 7, 2024
@mui-bot
Copy link

mui-bot commented Sep 7, 2024

Deploy preview: https://deploy-preview-14529--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 43a569a

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants