Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Handling multiple files of the same name #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Handling multiple files of the same name #17

wants to merge 3 commits into from

Conversation

nivthefox
Copy link

If your directory structure is nested, and contains multiple files of the same name, the coverage output gets clobbered.

Thus, if your structure looked like this:

/project/fixtures/Policy.js
/project/lib/Policy.js

previously you would only see coverage for one of these two files. With this change, the coverage for both files will be shown.

Interestingly, the CSS already accounted for this by colouring the path grey and the filename white, but the jscoverage output did not.

This fixes the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant