Make sure newsletter tests don't hang
On newer node JS our tests remained hanging. --exit flag forces proces to exit after tests are finished [MAILPOET-3673]
This commit is contained in:
committed by
Jan Lysý
parent
340653916c
commit
a87ae60030
@ -193,6 +193,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
'./node_modules/.bin/mocha',
|
'./node_modules/.bin/mocha',
|
||||||
'-r tests/javascript_newsletter_editor/mochaTestHelper.js',
|
'-r tests/javascript_newsletter_editor/mochaTestHelper.js',
|
||||||
'tests/javascript_newsletter_editor/testBundles/**/*.js',
|
'tests/javascript_newsletter_editor/testBundles/**/*.js',
|
||||||
|
'--exit',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (!empty($xmlOutputFile)) {
|
if (!empty($xmlOutputFile)) {
|
||||||
|
Reference in New Issue
Block a user