Could you kindly use the provided sample code as a reference to review the implementation in your code and verify the test cases?
Could you kindly provide the code snippet for which you are seeking to write test cases? Sharing the relevant code will help us analyze it and identify any potential issues more accurately.
Please consider exploring Freddy Copilot for Developers to enhance your development experience with the support of generative AI capabilities.
The error seems to originate in the fdk node module. I had a breakpoint to see what the error was and it turns out that it tries to make a network call to localhost:10001 and it fails.
So, on another terminal window I ran fdk run and then ran fdk test in parallel.
This setup makes it work.