You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only way to access ramda in jest.mock is jest.mock('module', () => jest.requireActual('ramda').T). So it's not as convenient to use ramda in mocks. Maybe plugin can detect inline mocks and disable rule in them?
The text was updated successfully, but these errors were encountered:
The only way to access ramda in
jest.mock
isjest.mock('module', () => jest.requireActual('ramda').T)
. So it's not as convenient to use ramda in mocks. Maybe plugin can detect inline mocks and disable rule in them?The text was updated successfully, but these errors were encountered: