Commit b6967400 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

all unit tests will be retried up to 4 times

parent fda6c40d
......@@ -13,7 +13,7 @@
"deploy": "node scripts/deploy.js",
"refresh-mock-requests": "node scripts/refresh_mock_requests.js",
"lint": "jshint src/.",
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --recursive src/test/js"
"test": "istanbul cover node_modules/mocha/bin/_mocha -- --recursive src/test/js --retries 4"
},
"author": "Piotr Gawron",
"devDependencies": {
......
......@@ -196,11 +196,10 @@ before(function () {
mockBootstrap();
// Retry all tests in this suite up to 4 times
this.retries(4);
});
beforeEach(function () {
window.onresize = undefined;
logger.flushBuffer();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment