Jayanta Samaddar
Jayanta Samaddar
I've answered this on an earlier issue. The right way to do this is to handle the error gracefully. The problem seems to be the IORedis client's behaviour of timed...
I had a `.babelrc` with presets (format: JSON). Unfortunately, the Babel transpiling was not being done for Jest. Converted it into a `babel.config.js` and then it transpiles the imports correctly...
> Adding shallow={true} worked for me: > Go there Does not work in `Next 13.2.3`
Same question.
For anyone else looking for an equivalent without Enzyme, I've used, **`@emotion/styled`** with **`jest`**, **[`react-test-renderer`](https://reactjs.org/docs/test-renderer.html)** (instead of Enzyme, as used here): Here's how you'd do it there. ```js import renderer...