You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your well written issue report @will-ks
The team prioritizes React Server Components right now, and won't have time to look into this for a few weeks/months.
If someone from the community submitted a PR I or someone else will review it, but unfortunately that's all I can commit anyone to right now :(
What's not working?
After setting up mantine components with
yarn rw setup ui mantine
and using any mantine component, the tests will fail due to:The fix for this would be to add
MantineProvider
to thereact-testing-library
wrappers (ie. here https://github.com/redwoodjs/redwood/blob/main/packages/testing/src/web/customRender.tsx#L20).Ideally the setup command would handle this, but if not possible, maybe the docs could be updated to describe how to get around this yourself?
I have done the following to work around the issue:
render
from this file instead of from@redwoodjs/testing/web
How do we reproduce the bug?
yarn rw setup ui mantine
yarn rw test web
What's your environment? (If it applies)
No response
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: