I'm using gulp-karma + mocha + chai + sinon in order to unit test some front end.
The nasty thing I keep getting into is the "Script Error" message that karma spits out without any other relevant detail.
How can I make karma display the source of the error also ?

This might be a little late, but as others may find this problem I thought I'd add some notes.
The
Script errorcomes when the error is produced in a different domain than it's consumed. Browsers then remove the error details for security reasons. Typically this happens if:evalcode. Note that this is what webpack often does in development scenariosTo mitigate this you can
evalcode - if you're running webpack, choose a devtool not containing "eval"Hope it helps