Skip to content

findByComponent and proxyquire #27

@ghost

Description

Hi there,
There seems to be an issues whereby when you instantiate a react component via proxiquireify and perform a findByComponent on a subcomponent that react-unit us unable to find it even when a .dump() returns the item to be found.

e.g. If was was proxyquiring a Header component and within it, there was a Logo component.
Without proxying it, the findByComponent will return the Logo component but as soon as you proxyquirify the

component, it can never be found. Any ideas about an easy repeatable way to achieve this?

Reference proxiquirify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions