Skip to content

Codecov coverage looks incorrect for sentry extension repository

Created by: nicksnyder

Just looking at this file in Codecov, it doesn't make sense which lines that are red https://codecov.io/gh/sourcegraph/sentry/src/master/src/extension.ts

image

This makes me worry that it is misconfigured.

I quickly glanced at https://github.com/codecov/example-typescript and the FAQ states that we need this in the tsconfig.json:

{
  "compilerOptions": {
    "sourceMap": true,
  }
}

I don't see this in the sentry repo, but I do see this option in sourcegraph/sourcegraph (where codecov works). Maybe all you need to do is add this configuration?

cc @lguychard for advice