Ok. I can explain this bug. It seems commenting out teardown in resetDatabase solves our issue that travis cannot find our teardown script eventough it outputs the exact path it should be at. Will come back to this as it seems it works everywhere else. Good night.

This commit is contained in:
2017-12-21 01:00:47 +01:00
parent 7824e8be27
commit 601440d540

View File

@@ -4,7 +4,7 @@ function resetDatabase() {
const database = new SqliteDatabase(':memory:');
return Promise.resolve()
.then(() => database.connect())
.then(() => database.tearDown())
// .then(() => database.tearDown())
.then(() => database.setUp());
}