79296754

Date: 2024-12-20 09:36:19
Score: 2.5
Natty:
Report link

You don't need beforeEach for mocking. So put vi.mock directly in your setup file should work.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ben Richter