
When the only possible mutation results in a transpile errors then there are no tests run. To my understanding these are not taken into account when calculating the coverage so the resulting coverage is 0%. I expect it to be 100%.
@riezebosch thabks for trying out the new typescript functionality. Indeed it is not used in calculation. However, if there are zero valid mutants, the score is calculated as 0.
What would you expect as a score in this case?
I would expect 馃挴 馃
Not something like n/a?
Or even more precise: no mutants. This also applies to the overview page.
But there are mutants. Just not valid ones. How about no valid mutants?
Let's go for 100. This both pragmatic and mathematically sound.

I am no longer able to reproduce the issue, test repo at https://github.com/Archcry/stryker-calculate-score-example
Thats because you have 1 mutant. It has state TranspileError. Thus 100%
Thats because you have 1 mutant. It has state TranspileError. Thus 100%
Yes, but it's the same as the example given in the first post.
Hmm true. I think we might have implemented it without closing this issue. I'll close it for now, feel free to reopen or comment here if it is not fixed.
Most helpful comment
I would expect 馃挴 馃