alexcanessa/typescript-coverage-report

Bug: Multiple ignore params get clobbered by the last one

willsmanley-uber opened this issue · 4 comments

Describe the bug
In type-coverage core, you can pass multiple ignore params and they will all be honored. In this wrapper, only the last ignore param is honored.

To Reproduce
Use two separate ignore params. Only the last one will be ignored.

Expected behaviour
Both file globs should be ignored.

@alexcanessa FYI, just wanted to get your thoughts here

@willsmanley-uber i was able to get it to work using package.json options
https://github.com/plantain-00/type-coverage#config-in-packagejson

yeah, I'm having this issue as well when using the CLI. I can't use the package.json option because I have multiple package.json files in my repo.

Ok thanks @luisrudge.
Not sure if you'd be keen to contribute to the repo? Otherwise I'll see what I can do in the weekend.