Skip to content

line number incorrect even in a simple example (Node 7 and no React) #412

@Tuizi

Description

@Tuizi
  • Issue
    Line number in coverage result table are not correct. The line number sometimes correspond to an empty line or a line with a }.
    I know that there is an issue with line number when using Node 8 and React 16, but I just did a small example using Node 7 and without React... Pure Typescript and line numbers are not correct.

  • Expected behavior
    Line number in the coverage result should match line of the Typescript files

  • Link to a minimal repo that reproduce this issue

Clone https://github.com/Tuizi/ts-jest-issue-repo and npm install && npm test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions