Effect CommunityEC
Effect Community2mo ago
1 reply
danielo515

Issue with `beforeEach` Not Resetting Mocks in Tests

Has anyone experienced an issue where this line:
  beforeEach(() => getEventsMock.mockReset());

Is not enough to reset the tests? I have to manually execute that mockReset inside the test. Does it have to do with the nesting of the describes, or could it be something related to effect/vitest?
Was this page helpful?