refactor: Bump to jasmine 5.6.0 (#9453)

This commit is contained in:
Diamond Lewis
2025-03-11 15:34:14 -05:00
committed by GitHub
parent 5a2f3b8aec
commit 97d4a9e783
12 changed files with 574 additions and 58 deletions

View File

@@ -15,8 +15,8 @@ const fakeClient = {
// These tests are specific to the mongo storage adapter + mongo storage format
// and will eventually be moved into their own repo
describe_only_db('mongo')('MongoStorageAdapter', () => {
beforeEach(done => {
new MongoStorageAdapter({ uri: databaseURI }).deleteAllClasses().then(done, fail);
beforeEach(async () => {
await new MongoStorageAdapter({ uri: databaseURI }).deleteAllClasses();
Config.get(Parse.applicationId).schemaCache.clear();
});