Skip to content

Consider rule for naming mocks created with vi.fn() #402

@daniel-white

Description

@daniel-white

Today I learned about vi.fn().mockName(...). This greatly helps troubleshoot expectations with giving the mock a name. Would you consider adding a rule to check for the absence of mockName(...)?

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