Skip to content

[Testing] shouldRenderCustomStyles account for more configurations #6152

Closed

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)

Activity

  1. cee-chen commented on Sep 20, 2022

    @cee-chen
    Contributor

    Totally lost track of this issue, thanks greg!

    Will be resolved by #6239 and #6248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions