Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ramda/prefer-ramda-boolean] Wrong report in jest.mock implementation #31

Open
anion155 opened this issue Nov 17, 2021 · 0 comments
Open

Comments

@anion155
Copy link

anion155 commented Nov 17, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant