Merge pull request #675 from hexid/fix-windows-tests
Fix error where this.emit('error', error); doesn't exist
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment