Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Conversation

@ollelauribostrom
Copy link
Contributor

Jest does not correctly map lines in coverage reports back to the original Typescript files. This PR fixes this by generating inline source maps during test-runs which is picked up by Jest.

Summary of Changes

  • Adding the inlineSourceMap option to tsconfig.test.json
  • Adding the --no-cache flag when collecting coverage with Jest

@coveralls
Copy link

Coverage Status

Coverage increased (+1.7%) to 66.066% when pulling b92e9be on ollelauribostrom:fix-jest-sourcemaps into ef9c8ed on wasdk:master.

@yurydelendik yurydelendik merged commit 43d8013 into wasdk:master Jul 5, 2018
@yurydelendik
Copy link
Collaborator

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants