removing the exception formatter from the util namespace
This commit is contained in:
12
src/core/ExceptionFormatter.js
Normal file
12
src/core/ExceptionFormatter.js
Normal file
@@ -0,0 +1,12 @@
|
||||
jasmine.exceptionMessageFor = function(e) {
|
||||
var message = e.name
|
||||
+ ': '
|
||||
+ e.message
|
||||
+ ' in '
|
||||
+ (e.fileName || e.sourceURL || '')
|
||||
+ ' (line '
|
||||
+ (e.line || e.lineNumber || '')
|
||||
+ ')';
|
||||
|
||||
return message;
|
||||
};
|
||||
Reference in New Issue
Block a user