Sleep
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
35a579f06b
commit
490b5fc6df
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue