Comment Comment by MuffinFlavored I would go with `nock` rather than spinning up a mock server: https://github.com/nock/nock parent MuffinFlavored 7 years ago