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!
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!