Permalink
Browse files

prevents flapping test cases (wait 1500 ms during test page loading)

  • Loading branch information...
rpl committed Aug 5, 2015
1 parent 2438cde commit 0656f59360535ea5b31196db6e22e6ab3177885f
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/test-repl.js
View
@@ -42,7 +42,9 @@ beforeEach(function(done) {
}
mozrepl.on("connect", function() {
mozrepl.eval("content.location = 'http://localhost:8080';", done);
mozrepl.eval("content.location = 'http://localhost:8080';", function() {
setTimeout(done, 1500);
});
});
mozrepl.on("error", function() {
if (retries > 0) {

0 comments on commit 0656f59

Please sign in to comment.