node-ms-teams-webhook
node-ms-teams-webhook copied to clipboard
Question: How to mock this
How can I mock this in my tests?
Do you have a simple example, please?
I'd use nock to assert that HTTP requests are being made to the webhook URL provided to the library, without the side-effect of actually posting messages.