Code coverage not working as expected on Linux and Mac I have a Next.js project which uses React, MUI and TypeScript and Jest (with RTL) for testing.