Skip to content

Provide a cleanup-after-each file? #27

Closed
@afontcu

Description

@afontcu

Hi! react-testing-library is providing a cleanup-after-each file that comes in handy to avoid repeating afterEach(cleanup) on every test file. They even load it using a setup file, so you load it once and forget about dirty DOM nodes once for all.

Would it make sense to port this feature to vue-testing-library? If so, I'd happily submit a PR with both the file and the required documentation 🤗

👋

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