Integrate MSW and Storybook

InstructorMichael Chan

Share this video with your friends

Send Tweet

In this lesson, we add the Mock Service Worker (MSW) library to Storybook for API endpoint mocking in Storybook. We configure MSW by hand for use with Next.js features like getServerSideProps and getStaticProps in stories.