Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: after an explicit call to Gently.verify, expectations are verifi…

…ed again on process exit
  • Loading branch information...
commit 48a2cc7e92fcb460038ca236f785fccf014c01bd 1 parent fbe5902
@andreyvit andreyvit authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/gently/gently.js
View
2  lib/gently/gently.js
@@ -115,6 +115,8 @@ Gently.prototype.verify = function(msg) {
}
}
+ this.expectations = []; // reset so that no duplicate verification attempts are made
+
if (!validExpectations.length) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.