Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Add support for root as host node #5

@eddyerburgh

Description

@eddyerburgh

Currently we only support the root being a Functional component, or a Class component.

There is code to handle root host nodes, but it's buggy and there are tests that aren't passing.

See this test for an example—https://github.com/bbc/enzyme-adapter-inferno/blob/master/test/specs/ReactWrapper.spec.js#L283

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