Test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-10-05 13:32:43 +02:00
parent 726b2d5eb2
commit df929c77ce
1 changed files with 7 additions and 5 deletions

View File

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