🐛 Bug: Collecting included files possibly missing bunch of them #1522
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: bug
Something isn't working :( 🐛
Bug Report Checklist
main
branch of the repository.Expected
I expected code to collect all files that match
include
from compilerOptions:[ 'src', 'test/*.ts' ]
Actual
In practice, it seems that only these files where matched
Additional Info
I added logging to
parseRawCompilerOptions
to check what is doing withinclude
. It's read correctly as[ 'src', 'test/*.ts' ]
but thenparseJsonConfigFileContent.filenames
sets it to be just those files mentioned in Actual section.There is mutation test for include, but it seems that the test setup does not use
parseRawCompilerOptions
at all. So it's not actually tested.This manifest so that suppressTypeErrors is adding a lot ts-expect-error comments all around about things that are not problems.
The text was updated successfully, but these errors were encountered: