Commit 057d8390 057d839057d3f835f33e358a45f62840469d441f by Nicolas Perriault

Merge pull request #675 from hexid/fix-windows-tests

Fix error where this.emit('error', error); doesn't exist
2 parents 69b35953 afd39029
...@@ -387,7 +387,7 @@ Casper.prototype.checkStep = function checkStep(self, onComplete) { ...@@ -387,7 +387,7 @@ Casper.prototype.checkStep = function checkStep(self, onComplete) {
387 } 387 }
388 } catch (error) { 388 } catch (error) {
389 self.emit('complete.error', error); 389 self.emit('complete.error', error);
390 this.emit('error', error); 390 self.emit('error', error);
391 } 391 }
392 }; 392 };
393 393
......