do the ping better
This commit is contained in:
parent
26762f0586
commit
91d9773933
@ -25,6 +25,10 @@ if window.JHW
|
|||||||
parts.push('')
|
parts.push('')
|
||||||
parts.join("||")
|
parts.join("||")
|
||||||
|
|
||||||
|
jasmine.Spec.prototype.finishCallback = ->
|
||||||
|
JHW.ping()
|
||||||
|
this.env.reporter.reportSpecResults(this)
|
||||||
|
|
||||||
jasmine.Spec.prototype.fail = (e) ->
|
jasmine.Spec.prototype.fail = (e) ->
|
||||||
if e and e.sourceURL and window.CoffeeScriptToFilename
|
if e and e.sourceURL and window.CoffeeScriptToFilename
|
||||||
filename = e.sourceURL.split('/').pop()
|
filename = e.sourceURL.split('/').pop()
|
||||||
|
@ -27,6 +27,10 @@
|
|||||||
}
|
}
|
||||||
return parts.join("||");
|
return parts.join("||");
|
||||||
};
|
};
|
||||||
|
jasmine.Spec.prototype.finishCallback = function() {
|
||||||
|
JHW.ping();
|
||||||
|
return this.env.reporter.reportSpecResults(this);
|
||||||
|
};
|
||||||
jasmine.Spec.prototype.fail = function(e) {
|
jasmine.Spec.prototype.fail = function(e) {
|
||||||
var expectationResult, filename, realFilename;
|
var expectationResult, filename, realFilename;
|
||||||
if (e && e.sourceURL && window.CoffeeScriptToFilename) {
|
if (e && e.sourceURL && window.CoffeeScriptToFilename) {
|
||||||
|
Loading…
Reference in New Issue
Block a user