Open coreyfarrell opened 5 years ago
I've seen a couple nyc bugs where configuration: {include: ['./lib/**']} does not work, it has to be changed to {include: ['lib/**']}. These two include arrays should produce identical results.
{include: ['./lib/**']}
{include: ['lib/**']}
@coreyfarrell not really sure, but shouldn't the regex in https://github.com/istanbuljs/test-exclude/blob/a5b1d07584109f5f553ccef97de64c6cbfca4764/index.js#L95 rather be ^\.[\\\/] (escaping the slash)?
^\.[\\\/]
I've seen a couple nyc bugs where configuration:
{include: ['./lib/**']}
does not work, it has to be changed to{include: ['lib/**']}
. These two include arrays should produce identical results.