Unit Testing in Backend


I’m wondering how people here have tackled unit testing their DUO Verify backend endpoints?
It seems there isn’t a good way to generate a sign response for testing purposes nor is there a mock-sdk. I was thinking of using nock but it also seems that duo is implemented with websockets rather than standard https requests.
This is in nodejs and our testing framework is mocha+chai.
Any help here is greatly appreciated!