Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
b6967400
Commit
b6967400
authored
Nov 05, 2018
by
Piotr Gawron
Browse files
all unit tests will be retried up to 4 times
parent
fda6c40d
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend-js/package.json
View file @
b6967400
...
...
@@ -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"
:
{
...
...
frontend-js/src/test/js/mocha-config.js
View file @
b6967400
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment