Compare commits
3 Commits
dev
...
5160-backT
Author | SHA1 | Date |
---|---|---|
Vicent Llopis | 46f325acc1 | |
Vicent Llopis | 9b91eb46f3 | |
Vicent Llopis | dbac413922 |
|
@ -30,12 +30,9 @@ async function test() {
|
|||
|
||||
const bootOptions = {dataSources};
|
||||
const app = require('vn-loopback/server/server');
|
||||
await new Promise((resolve, reject) => {
|
||||
app.boot(bootOptions,
|
||||
err => err ? reject(err) : resolve());
|
||||
});
|
||||
// FIXME: Workaround to wait for loopback to be ready
|
||||
await app.models.Application.status();
|
||||
app.boot(bootOptions);
|
||||
// // FIXME: Workaround to wait for loopback to be ready
|
||||
// await app.models.Application.status();
|
||||
|
||||
const Jasmine = require('jasmine');
|
||||
const jasmine = new Jasmine();
|
||||
|
@ -55,7 +52,7 @@ async function test() {
|
|||
const JunitReporter = require('jasmine-reporters');
|
||||
jasmine.addReporter(new JunitReporter.JUnitXmlReporter());
|
||||
|
||||
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 90000;
|
||||
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
|
||||
jasmine.exitOnCompletion = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue