If your code fails pnpm test due to a prettier rule then run pnpm lint-fix to fix it or most lint errors automatically before running pnpm test again. You usually don't need to fix any Prettier errors ...