Skip to content

Inherit mock state #96

@pepicrft

Description

@pepicrft

I recently came across this blog post, and made me think that it'd be useful if Mimic had another mode besides private or global, inherited, such that processes could inherit the mock configuration scoped to a particular test using something like ProcessTree.

We love :mimic, and we'd love to continue using it, but having to mark some of our tests as async: false because explicitly allowing access to mocks is not possible is a bit annoying.

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