Mocking in Front-end and Back-end TypeScript Tests
4/27/2022
at NDC Porto
in Porto, Portugal
When the goal is unit testing, it’s common to swap out dependencies with fake pieces to give more control and to make tests run faster. In this code-focused tour, we’ll systematically analyze the test scenarios we want to build, then live-code mocks in two scenarios: Express and Vue – server and client. It’s easy to gain value and speed once you know how.