Increased timeout
This commit is contained in:
parent
330763a745
commit
65e68cf4dd
|
@ -27,8 +27,6 @@ async function test() {
|
|||
const app = require('vn-loopback/server/server');
|
||||
app.boot(bootOptions);
|
||||
|
||||
await new Promise(resolve => setTimeout(resolve, 15000));
|
||||
|
||||
const Jasmine = require('jasmine');
|
||||
const jasmine = new Jasmine();
|
||||
const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
|
||||
|
@ -42,7 +40,7 @@ async function test() {
|
|||
jasmine.loadConfig({
|
||||
spec_dir: '.',
|
||||
spec_files: backSpecs,
|
||||
helpers: []
|
||||
helpers: [],
|
||||
});
|
||||
|
||||
jasmine.addReporter(new SpecReporter({
|
||||
|
@ -56,6 +54,7 @@ async function test() {
|
|||
}));
|
||||
|
||||
jasmine.exitOnCompletion = false;
|
||||
jasmine.defaultTimeoutInterval = 40000;
|
||||
await jasmine.execute();
|
||||
if (app) await app.disconnect();
|
||||
if (container) await container.rm();
|
||||
|
|
Loading…
Reference in New Issue