How to make a Jest Test for Error Boundaries
Own your error
Error boundaries are a nifty part of the React API to handle errors. Basically, an error that occurs within the error boundary propagates to said error boundary to control it.
With this functionality, you can choose what to do with the...
relatablecode.hashnode.dev2 min read