Fix tests

This commit is contained in:
MoyuScript
2014-09-18 22:25:37 +03:00
parent 773084235c
commit 58d2251e17
2 changed files with 9 additions and 1 deletions

View File

@ -113,6 +113,12 @@
} else {
throw new Error("Couldn't run test after 3 retries");
}
})
.then(function(e) {
if (e.message === "timeout error") {
throw e;
}
return e;
});
}