To get a quick and dirty stack traces with Jasmine's HTML Reporter, add this on the spec runner page after jasmine/boot.js
.
<script type="text/javascript" src="sourcemapped-stacktrace.js"></script>
<script type="text/javascript">
jasmine.getEnv().addReporter({
jasmineDone: function() {
var traces = document.querySelectorAll(".jasmine-stack-trace")
for(var i = 0; i < traces.length; i++) {
(function(node){
sourceMappedStackTrace.mapStackTrace(node.textContent, function(stack) {
node.textContent = node.previousSibling.textContent + "\n" + stack.join("\n")
})
})(traces[i])
}
}
})
</script>
It will add a new reporter that when Jasmine is done, will transform the stack traces using @novocaine's https://github.com/novocaine/sourcemapped-stacktrace