Skip to content

Allow asserting that a mock will be called within a timeout #282

@jfornoff

Description

@jfornoff

It'd be nice to have the option to assert that a mocked function will be called in a defined timeout.

:meck.wait supports it pretty directly, should be a good fit to expect(mod) |> to(receive ...).
Maybe something like expect(mod) |> to(receive ..., within: 500)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions