Mocking in Front-end and Back-end TypeScript Tests

12/9/2021 at DevIntersection in Las Vegas, NV

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.