Closed phlppn closed 10 years ago
You can't really.. with sprockets the files can be combined into different files, so the filename is a) not always accurate, b) impossible to get without raising an exception (and even still unreliable with passing that around).
If you know of a way to accomplish this in javascript I'd be interested in how you can accomplish it.
I am using teaspoon with qunit and phantomjs. When a run a simple unit test like this:
and it fails, i dont get any information about the File / Line and the actual value of someArray. I just get something like that:
How do i get more information about where the error happened and what the actual compared values are?