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

Code coverage report shows not the orignal typescript code #271

Closed
deleonio opened this issue Jan 29, 2016 · 3 comments
Closed

Code coverage report shows not the orignal typescript code #271

deleonio opened this issue Jan 29, 2016 · 3 comments

Comments

@deleonio
Copy link
Contributor

Let us fix this ...

https://www.sitepen.com/blog/2015/09/29/code-coverage-for-typescript-and-other-transpiled-languages/

@PatrickJS
Copy link
Owner

the correct solution with karma is hacky but I can probably make another task that needs karma running to output the results

@deleonio
Copy link
Contributor Author

λ .\node_modules\.bin\remap-istanbul.cmd -i "coverage\PhantomJS 1.9.8 (Windows 8 0.0.0)\coverage-final.json" -t html -o html-report
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\app.spec.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\app.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\directives\router-active.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\home.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\services\title.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\directives\x-large.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\directives\x-large.spec.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\home.spec.ts"]
[Error: Could not find source map for: "...\angular2-webpack-starter\src\app\home\services\title.spec.ts"]

@deleonio
Copy link
Contributor Author

My issue is a duplicate. Visit issue #178 for more details.

@gdi2290 i'll read more about it.

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

2 participants