Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing files as ignored doesn't work #117

Open
AleksandraRataj opened this issue Nov 30, 2022 · 2 comments
Open

Passing files as ignored doesn't work #117

AleksandraRataj opened this issue Nov 30, 2022 · 2 comments
Labels
question Further information is requested

Comments

@AleksandraRataj
Copy link

AleksandraRataj commented Nov 30, 2022

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?

@plantain-00
Copy link
Owner

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

@plantain-00 plantain-00 added the question Further information is requested label Nov 30, 2022
@srsudar
Copy link

srsudar commented Oct 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants