Skip to content

[feature]: mock response for chained invoke #209

@zhongkechen

Description

@zhongkechen

Discussed in #187

Originally posted by Squatch89 January 9, 2026
Hello,

I am spear heading the adoption of using durable functions on my team. Part of that process is writing tests. I have run into an issue testing my durable function. When I get to the step that calls context.invoke my test just spins forever. Am I supposed to be setting up a mock response for the invoke, or can I expect a result to come back from the code in my container. I have been unable to find an example for something like this in docs.
If there's any additional information you might need please let me know.

Thanks in advance!

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