
This talk was given at ViennaJS April 2019 by Edo Rivai.
In the talk I'll take a practical look at mocking out HTTP requests when unit testing in Node. I've actually written it up in a blogpost already: https://medium.freecodecamp.org/how-to-mock-requests-for-unit-testing-in-node-bb5d7865814a . I'll touch on the popular HTTP mocking library "nock", and the testing library Jest.