Babel and line numbers


I’ve converted my package to use Babel. However, when my spec files are written with babel ('use babel'; at the top of the file), the line numbers reported by the test runner corresponds to the transpiled javascript file, and not the original source. Very annoying. Is there anything that can be done?

Running tests:

Checking source code file at row 784:
That’s not the error. Neither warning nor error is part of this…

The actual error is found further down in the file:

I transpiled the file manually using babel, and voila (at row 784):


Sounds like a definite bug. Please file an Issue on atom/atom if there isn’t one already. Also please post a link to the Issue (the one you create or the one that already exists) here.


Issue created at atom/atom@github.