borrado callback
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-05-16 13:48:05 +02:00
parent 9b91eb46f3
commit 46f325acc1
1 changed files with 1 additions and 4 deletions

View File

@ -30,10 +30,7 @@ async function test() {
const bootOptions = {dataSources}; const bootOptions = {dataSources};
const app = require('vn-loopback/server/server'); const app = require('vn-loopback/server/server');
await new Promise((resolve, reject) => { app.boot(bootOptions);
app.boot(bootOptions,
err => err ? reject(err) : resolve());
});
// // FIXME: Workaround to wait for loopback to be ready // // FIXME: Workaround to wait for loopback to be ready
// await app.models.Application.status(); // await app.models.Application.status();