plantain-00/type-coverage

Passing files as ignored doesn't work

AleksandraRataj opened this issue · 2 comments

Version:

"type-coverage": "^2.24.1"
"typescript": "4.4.4"
"typescript-coverage-report": "^0.7.0"

Environment: macOS

Hi! :)
Passing files to ignore that way: --ignore-files "demo1/*.ts" --ignore-files "demo2/foo.ts" doesn't work for me. Only the last argument is ignored, but the previous are still in the report. Should I specify the files to ignore in another way?

I cannot reproduce it.
you can debug it locally at node_modules/type-coverage/packages/core/dist/core.js#L42

I also see this. I can work around it with globbing patterns, eg --ignore-files "foo/{bar,baz}/*.js", but I can't figure it out when there isn't overlap between the dirs like that.