TypeError: Cannot destructure property ‘enqueueSnackbar’
I have a Jest unit test that is testing an error from a mocked API call to ensure that the error message is displayed on the page. In my actual file, I’m using notistack to display the error messages. …