DEV Community

Discussion on: Testing a Generic Fetch Item List hook with Mock Service Worker

 
rexebin profile image
Rex

@kettanaito Thanks to your help, I have updated @mockapi/msw removing the global error handlers. I also recommended the use of server.use to override endpoints in the readme. Phew, almost mislead the community.

Thread Thread
 
rexebin profile image
Rex

@kettanaito I also updated the tests and setup here in this post to reflect the best practices.