Disable tests that don't work in Postgres, and don't start a mongo for postgres tests (#2481)
* Disable tests that don't work in Postgres, and don't start a mongo for postgres tests * Remove unnecessary chages * remove more unnecessary chagnes
This commit is contained in:
@@ -342,6 +342,16 @@ global.fit_exclude_dbs = excluded => {
|
||||
}
|
||||
}
|
||||
|
||||
global.describe_only_db = db => {
|
||||
if (process.env.PARSE_SERVER_TEST_DB == db) {
|
||||
return describe;
|
||||
} else if (!process.env.PARSE_SERVER_TEST_DB && db == 'mongo') {
|
||||
return describe;
|
||||
} else {
|
||||
return () => {};
|
||||
}
|
||||
}
|
||||
|
||||
// LiveQuery test setting
|
||||
require('../src/LiveQuery/PLog').logLevel = 'NONE';
|
||||
var libraryCache = {};
|
||||
|
||||
Reference in New Issue
Block a user