Skip to content
Snippets Groups Projects
Commit b6967400 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

all unit tests will be retried up to 4 times

parent fda6c40d
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!490Resolve "common functionality of NetworkExportPanel and GraphicsExportPanel should be extracted to abstract class"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"deploy": "node scripts/deploy.js", "deploy": "node scripts/deploy.js",
"refresh-mock-requests": "node scripts/refresh_mock_requests.js", "refresh-mock-requests": "node scripts/refresh_mock_requests.js",
"lint": "jshint src/.", "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", "author": "Piotr Gawron",
"devDependencies": { "devDependencies": {
......
...@@ -196,11 +196,10 @@ before(function () { ...@@ -196,11 +196,10 @@ before(function () {
mockBootstrap(); mockBootstrap();
// Retry all tests in this suite up to 4 times
this.retries(4);
}); });
beforeEach(function () { beforeEach(function () {
window.onresize = undefined; window.onresize = undefined;
logger.flushBuffer(); logger.flushBuffer();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment