Error: The automocking API "disableAutomock" is not supported in vitest.
Please switch to explicit mocking in Jest before running transformation, or skip transformation on the files which uses this API.
It can instead put a comment in code to comment out disableAutomock with explanation in code
// Vitest does not automock by default https://vitest.dev/guide/migration.html
// Explicit call to disable automock can be deleted.
// jest.disableAutomock();
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Self-service
Template name
jest
Input code
Expected Output
This currently throws an error:
It can instead put a comment in code to comment out disableAutomock with explanation in code
Additional context
No response