Lesson

Introduction to Mocking WebSocket APIs with Mock Service Worker

Access
Included
Transcript
Needs source

Hi! My name is Artem, and in this course I will teach you how to mock WebSocket APIs with Mock Service Worker. You and I are going to build a chat application mock-first, and you will learn how to intercept WebSocket connections, handle client and server events, and also test the code that relies on WebSocket in Vitest and Playwright. Let's go!