typescript-coverage-report icon indicating copy to clipboard operation
typescript-coverage-report copied to clipboard

Bug: Multiple ignore params get clobbered by the last one

Open willsmanley-uber opened this issue 2 years ago • 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.

willsmanley-uber avatar Jan 18 '23 21:01 willsmanley-uber

@alexcanessa FYI, just wanted to get your thoughts here

willsmanley-uber avatar Jan 23 '23 18:01 willsmanley-uber

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

wolverineks avatar Feb 06 '23 21:02 wolverineks

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.

luisrudge avatar Oct 14 '23 01:10 luisrudge

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.

alexcanessa avatar Oct 17 '23 10:10 alexcanessa