Skip to content

Add child-Prop in stub of ChildComponent (when using snapshot) #708

Closed
@trollepierre

Description

@trollepierre

What problem does this feature solve?

I would like to see in my snapshot that I call my childcomponent with correct prop.

 <childcomponent-stub child-Prop="'some propsData that needs to be tested'"/>

Here is a failing test with my expected snapshot:

https://codesandbox.io/s/ql77047m9q

What does the proposed API look like?

nothing to add here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions