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');
|
const app = require('vn-loopback/server/server');
|
||||||
app.boot(bootOptions);
|
app.boot(bootOptions);
|
||||||
|
|
||||||
await new Promise(resolve => setTimeout(resolve, 15000));
|
|
||||||
|
|
||||||
const Jasmine = require('jasmine');
|
const Jasmine = require('jasmine');
|
||||||
const jasmine = new Jasmine();
|
const jasmine = new Jasmine();
|
||||||
const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
|
const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
|
||||||
|
@ -42,7 +40,7 @@ async function test() {
|
||||||
jasmine.loadConfig({
|
jasmine.loadConfig({
|
||||||
spec_dir: '.',
|
spec_dir: '.',
|
||||||
spec_files: backSpecs,
|
spec_files: backSpecs,
|
||||||
helpers: []
|
helpers: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
jasmine.addReporter(new SpecReporter({
|
jasmine.addReporter(new SpecReporter({
|
||||||
|
@ -56,6 +54,7 @@ async function test() {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
jasmine.exitOnCompletion = false;
|
jasmine.exitOnCompletion = false;
|
||||||
|
jasmine.defaultTimeoutInterval = 40000;
|
||||||
await jasmine.execute();
|
await jasmine.execute();
|
||||||
if (app) await app.disconnect();
|
if (app) await app.disconnect();
|
||||||
if (container) await container.rm();
|
if (container) await container.rm();
|
||||||
|
|
Loading…
Reference in New Issue