Test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
726b2d5eb2
commit
df929c77ce
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue