skip empty dbs in test

This commit is contained in:
Martin McKeaveney 2022-08-11 09:30:29 +01:00
parent a60398b3b3
commit 68df1b14e6
1 changed files with 4 additions and 2 deletions

View File

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