I have spent a few days looking over the only example I can find about unittesting:
https://firebase.google.com/docs/functions/unit-testing#testing_http_functions
I followed this to the following file, but I really don't understand the highlighted lines of code
I have a test right now that should be failing, but it's passing, so I know the assertion isn't being called. I'm not sure what would call "redirect" or when that might be something else or what values/names would make sense there. I know my function is getting called, but it's a dialogflow directive, like "conv.ask(...)" or "conv.close(...)". I know those return HTTP responses when deployed, but I'm not sure if they do when called by the unittests.
Any ideas to help me with this?