Fix jasmine 3.4 (#5573)
* Fix failing tests * just ignore the test for now. * Bumping jasmine * Fix pg unhandled exception * Improving the way the test is fixed * Fix unhandled failed promise in postgres test * Solving unhandled promise fail on redis test * Returning the excluded test * Fixing package-lock * Fix unhandled promise from redis test
This commit is contained in:
committed by
Arthur Cinader
parent
9232fcc601
commit
81ecf2fd74
@@ -97,11 +97,13 @@ class ParseServer {
|
||||
|
||||
logging.setLogger(loggerController);
|
||||
const dbInitPromise = databaseController.performInitialization();
|
||||
hooksController.load();
|
||||
const hooksLoadPromise = hooksController.load();
|
||||
|
||||
// Note: Tests will start to fail if any validation happens after this is called.
|
||||
if (process.env.TESTING) {
|
||||
__indexBuildCompletionCallbackForTests(dbInitPromise);
|
||||
__indexBuildCompletionCallbackForTests(
|
||||
Promise.all([dbInitPromise, hooksLoadPromise])
|
||||
);
|
||||
}
|
||||
|
||||
if (cloud) {
|
||||
|
||||
Reference in New Issue
Block a user