Skip to content

Isolating global states between tests #396

@xereda

Description

@xereda

Isolating global states between tests

I use the Testing Library to implement unit and integration tests. I have components sharing global states maintained by Hookstate. What is the correct way to write tests for these components and not have problems when the tests are run in parallel?

Thanks in advance for any support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions