Skip to content

Question regarding testing #492

Open
@fondberg

Description

@fondberg

I am using autosuggest with material-ui@1.0 as inspired from https://material-ui-next.com/demos/autocomplete/#react-autosuggest.

react-autosuggest is awesome but I have a small ask. Would it be possible to share how to test <Autosuggest> using jest + enzyme as it is default for create-react-app? I have now been bashing my head against it for a whole day without getting it to work.
I have tried simulating a key press to start the machinery using enzymes simulate but it doesn't work.

If anyone have something to share I would be very happy.

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