Mocking in Front-end and Back-end TypeScript Tests
11/16/2022
at SIGiST's Testing, Diversity, AI Conference
in London, England (virtual)
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.