0👍
I found this project https://github.com/nikolalsvk/pusher-js-mock.
Then you can replace the real pusher-js
with pusher-js-mock
by using jest.mock().
Source:stackexchange.com
0👍
I found this project https://github.com/nikolalsvk/pusher-js-mock.
Then you can replace the real pusher-js
with pusher-js-mock
by using jest.mock().