Skip to content

renderToString issue with istanbul and function as child components #82

Open
@PepijnSenders

Description

@PepijnSenders

I found this issue whilst comparing snapshots made with jest with and without coverage. When --coverage adds the istanbul babel plugin it adds random elements to the output.

I made a repo where you can see this in action: https://github.com/PepijnSenders/istanbul-preact-render-spy-bug

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