Skip to content

Line numbers aren't correct #85

@CraigHarley

Description

@CraigHarley

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

Line numbers are incorrect for template components. The tabs-headers only has 423 lines in it total.
image

Expected behavior

The line number should be somewhere below 423.

Minimal reproduction of the problem with instructions
I can reproduce this with a very simple template component with a failing test.

What is the motivation / use case for changing the behavior?

Will help debugging issues if the line numbers are correct.

Please tell us about your environment:

jest + babel + vue template

  • jest-vue-preprocessor: 1.1.X

^1.4.0

  • Node version : [ OSX | Linux | Windows ]
    10.3.0

  • Platform: [ OSX | Linux | Windows ]
    Windows

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