Matt Doyle
Matt Doyle
I would also love to know how to do this. Can't find a simple solution.
Not sure if this is a perfect workaround for what you need, but it works for my use case: ``` const inputProps = { onClick: (e) => { e.currentTarget.blur(); e.currentTarget.focus();...
> Using `setImmediate` (`jest.useFakeTimers({ doNotFake: ['setImmediate'] })`) worked for me (I'm using `request` from `supertest`) Fantastic, this fixed it for me! I'm using `supertest` also. When an error was thrown...