Next.js Discord

Discord Forum

Intercept getServerSideProps fetch with cypress

Bonga shad posted this in #help-forum
Open in Discord
Bonga shadOP
Hello, I used to have Mock Service Worker in Next12 to mock server requests, for cypress e2e tests, and that worked well until I upgraded to Next13, MSW stopped working, and I don't know if there is a way to test server-side requests

0 Replies