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

@@ -4,7 +4,7 @@ const request = require('../lib/request');
const Config = require('../lib/Config');
describe('a GlobalConfig', () => {
beforeEach(done => {
beforeEach(async () => {
const config = Config.get('test');
const query = on_db(
'mongo',
@@ -16,7 +16,7 @@ describe('a GlobalConfig', () => {
return { objectId: '1' };
}
);
config.database.adapter
await config.database.adapter
.upsertOneObject(
'_GlobalConfig',
{
@@ -31,11 +31,7 @@ describe('a GlobalConfig', () => {
params: { companies: ['US', 'DK'], counter: 20, internalParam: 'internal' },
masterKeyOnly: { internalParam: true },
}
)
.then(done, err => {
jfail(err);
done();
});
);
});
const headers = {