[Bug]: make-styles-overrides-win conformance test doesn't respect the wrapper
renderOption
#31306
Open
2 tasks done
wrapper
renderOption
#31306
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
https://github.com/CampbellOwen/fluentui/blob/user/owcampbe/TestIssueRepro/packages/react-components/react-button/src/components/Button/Button.test.tsx
I added a Wrapper to
Button.test.tsx
inreact-button
that doesn't render the button component and themake-styles-overrides-win
still passes.Bug Description
Actual Behavior
The
make-styles-overrides-win
conformance test inreact-conformance-griffel
directly renders the Component given and ignores therenderOptions: { wrapper: _ }
option.Expected Behavior
The call to
ReactDOM.render(element, container);
should pass the wrapper option if provided. This would allow components that require an external context to be tested.Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: