Skip to content

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

@anion155

Description

@anion155

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions