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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user