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) {
}
} catch (error) {
self.emit('complete.error', error);
this.emit('error', error);
self.emit('error', error);
}
};
......