next build does not compile *test.ts files?
Unanswered
Haddock posted this in #help-forum
HaddockOP
In a nextjs typescript app, we run next build in a pipeline to check all code for the app, but recently discovered using "tsc" that all files does not get type checked with "next build". Looks like it is due to the ignored files in "runTypeCheck"? Any suggestions how to handle this?
https://github.com/vercel/next.js/blob/1e3920c3dde6a96623205f968aee6e18db7843dc/packages/next/src/lib/typescript/runTypeCheck.ts#L20
https://github.com/vercel/next.js/blob/1e3920c3dde6a96623205f968aee6e18db7843dc/packages/next/src/lib/typescript/runTypeCheck.ts#L20