Sleep
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Joan Sanchez 2022-05-13 11:44:04 +02:00
parent 35a579f06b
commit 490b5fc6df
1 changed files with 30 additions and 28 deletions

View File

@ -25,7 +25,10 @@ async function test() {
const bootOptions = {dataSources};
const app = require('vn-loopback/server/server');
app.boot(bootOptions, async() => {
app.boot(bootOptions);
await new Promise(resolve => setTimeout(resolve, 5000));
const Jasmine = require('jasmine');
const jasmine = new Jasmine();
const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
@ -57,7 +60,6 @@ async function test() {
if (app) await app.disconnect();
if (container) await container.rm();
console.log('app disconnected & container removed');
});
}
test();