Hi all,
as in my title question, I'm not able to mock the client.config function.
With jest, I face the error:TypeError: client_events.config is not a function
I, obviously, use redis-mock
, with the following line:
jest.mock('redis', () => jest.requireActual('redis-mock'))
Any solutions?
Regards.