jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Source Maps for Stack Traces ?? #287

Closed andyl closed 9 years ago

andyl commented 9 years ago

I'm using Teaspoon with Jasmine 1.3.1 - all of my code is written in Coffeescript. The lack of accurate line numbers on stack traces is killing me.

Has anyone gotten coffeescript source maps to work properly with stack traces using Jasmine, Qunit or Mocha??

jejacks0n commented 9 years ago

I don't see how that's possible, so the answer is probably not. Just the nature of the translation from coffeescript to javascript.. there's no way to accurately convert it back to coffeescript without heavy instrumentation.