eslint-plugin-vitest icon indicating copy to clipboard operation
eslint-plugin-vitest copied to clipboard

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

Open daniel-white opened this issue 10 months ago • 1 comments

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(...)?

daniel-white avatar Mar 25 '24 17:03 daniel-white