refs #5160 callback added
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-02-28 11:19:41 +01:00
parent 1bc715cde5
commit 5ccfe6bf90
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ async function test() {
const bootOptions = {dataSources};
const app = require('vn-loopback/server/server');
app.boot(bootOptions);
await new Promise((resolve, reject) => {
app.boot(bootOptions,
err => err ? reject(err) : resolve());
});
const Jasmine = require('jasmine');
const jasmine = new Jasmine();