Skip to content

update the tests so that they are properly self-contained #179

@Pomax

Description

@Pomax

https://github.com/Pomax/react-onclickoutside/blob/master/test/test.js#L306-L325 currently sets up shared code that persists from one test to the next. This should be wrapped into a before function, or generator function, so that tests are properly independent again.

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