When I run 'next build', it doesn't exclude files such as src/components/abc.test.tsx
It does exclude the __tests__ folder.
My tsconig exclude is:
"exclude": ["node_modules"]
I did try modifying it to:
"exclude": ["node_modules", "**/*.test.tsx"]
but no joy. It still compiles a .test.tsx file in the src/components folder.
Can anyone please provide some guidance on this? I didn't find documentation regarding the default excludes behaviour in Next.