1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00

skip empty dbs in test

This commit is contained in:
Martin McKeaveney 2022-08-11 09:30:29 +01:00
parent bf16ffd8a5
commit eb0086e532

View file

@ -233,8 +233,10 @@ export async function getAllApps({ dev, all, idsOnly, efficient }: any = {}) {
}
let dbs = await getAllDbs({ efficient })
const appDbNames = dbs.filter((dbName: any) => {
if (!dbName) {
return false
if (env.isTest()) {
if (!dbName) {
return false
}
}
const split = dbName.split(SEPARATOR)