4592-jenkins_tests #1075

Merged
joan merged 27 commits from 4592-jenkins_tests into dev 2022-10-05 12:40:29 +00:00
1 changed files with 7 additions and 5 deletions
Showing only changes of commit df929c77ce - Show all commits

View File

@ -41,12 +41,12 @@ async function test() {
} }
})); }));
// if (isCI) { if (isCI) {
// const JunitReporter = require('jasmine-reporters'); const JunitReporter = require('jasmine-reporters');
// jasmine.addReporter(new JunitReporter.JUnitXmlReporter()); jasmine.addReporter(new JunitReporter.JUnitXmlReporter());
// jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
// } }
const backSpecs = [ const backSpecs = [
'./back/**/*[sS]pec.js', './back/**/*[sS]pec.js',
@ -61,6 +61,8 @@ async function test() {
}); });
if (!isCI) jasmine.exitOnCompletion = false; if (!isCI) jasmine.exitOnCompletion = false;
else
jasmine.exitOnCompletion = true;
await jasmine.execute(); await jasmine.execute();
if (app) await app.disconnect(); if (app) await app.disconnect();