karma-runner / karma-runner/karma-coverage

coverage preprocessor kills sourcemaps

Open
#234 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

I have a setup in a typescript project where karma-coverage is used to get coverage for my typescript files. Only thing is that it disables to see the typescript files in the browser when I am debbugging.

The culprit is this statement in my karma.conf.js

`preprocessors: {
'./lib/**/**.js': ['coverage']
},
`

Contributor guide

Open the contributing guide

Research direction

Start with the karma.conf.js preprocessor configuration shown in the report and reproduce it in a TypeScript project using karma-coverage. Investigate how the coverage preprocessor affects source maps during browser debugging; done means coverage still works while the original TypeScript files remain available in the browser debugger.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.