Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

coverage doesn't work for files outside of build/src #132

Open
trentgrover-wf opened this issue Feb 10, 2015 · 0 comments
Open

coverage doesn't work for files outside of build/src #132

trentgrover-wf opened this issue Feb 10, 2015 · 0 comments

Comments

@trentgrover-wf
Copy link
Contributor

[12:20 PM] Tom Connell: I can't seem to get wGulp karma-coverage to find the source files. Istanbul report is showing up with no files found: 'No data to display' Any advice on this one?
It might be related to computmaxer/karma-jspm#22
[12:58 PM] Tom Connell: Looks like its because I have jspm looking at my src directory instead of build directory.
build/src, I should say
[1:32 PM] Trent Grover: karma should still be serving up src files:
 https://github.com/Workiva/wGulp/blob/master/src/template/karma.conf.js
[1:33 PM] Trent Grover: did you actually run 'gulp cover'?
or were you just looking for coverage output after running gulp test?
[1:35 PM] Trent Grover: looks like there's a hard-coded coverage preprocessor path set at 'build/src':
 https://github.com/Workiva/wGulp/blob/master/src/tasks/karma.js#L93
we'll have to swap that out for the configured path

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

No branches or pull requests

1 participant