gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

Export With Different Case Creates Duplicate Test Coverage #845

Open Luciaisacomputer opened 6 years ago

Luciaisacomputer commented 6 years ago

If you have a component named myNewComponent but the export in the actual file is mynewComponent, it looks like Istanbul creates a duplicate test coverage case.

Is this expected behavior?