Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

karma coverage html not listing all files in subfolders #391

Open
rohithnair opened this issue Nov 1, 2019 · 0 comments
Open

karma coverage html not listing all files in subfolders #391

rohithnair opened this issue Nov 1, 2019 · 0 comments

Comments

@rohithnair
Copy link

version:-
"karma-coverage": "^2.0.1"

settings:-
coverageReporter: {
type : 'html',
dir : 'coverage/'
}

path for source files:-
'../Web/Js/**/*.js': 'coverage',

When running the tests, the coverage is generated:-

But :
This is my coverage folder structure

[Coverage]
  create-account-management.js.html
   index.html
  [Account]
        --->[Components]
                  create-account.js.html
                  index.html

The Coverage folder index.html does not have any sub folder java script source links to view coverage.. In my case create-account.js.html cannot be reached from the outer index.html . The outer index.html has only create-account-management.js.html and not the inner folder javascript source files.

I was expecting the index,html to contain create-account.js.html and create-account-management.js.html links

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

No branches or pull requests

1 participant