Skip to content

Testing with enzyme  #968

@idoo

Description

@idoo

How i can simulate 'change' event on react-select comonent?

wrapper.find('.Select-input input').simulate('change', { target: { value: 'text' }});
don't trigger change event

wrapper.props().onChange(event) working well

any ideas?

UPDATE: I found that your are planing rewrite this test with enzyme, but can't find any example(
#680

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