Skip to content

Real function preferred over mock function #11

@malakai97

Description

@malakai97

I am finding that MockFunction works fine if the functions being mocked are not defined, but when they are defined the real definitions are preferred and the mock definitions ignored.

This seems like some sort of race condition. I've tried this with the modern syntax as well to no avail; the mocks seem to be loaded first, then overridden later. But that is just a hypothesis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions