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:
Rostislav Wolny
2021-07-01 17:40:12 +02:00
committed by Jan Lysý
parent 340653916c
commit a87ae60030

View File

@ -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)) {