skip empty dbs in test
This commit is contained in:
parent
a60398b3b3
commit
68df1b14e6
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue