Skip to content

[Testing] shouldRenderCustomStyles account for more configurations #6152

@thompsongl

Description

@thompsongl

Yeah it looks like there are a couple scenarios not accounted for in the shouldRenderCustomStyles helper.

  • When the css prop is passed to a component that already uses Emotion
  • When the style prop is not passed to the main element in the component

Looking, but we may need shouldRenderCustomStyles to accept a some kind of config object

Originally posted by @thompsongl in #6110 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions