Convert return new Promise to await new Promise

GitOrigin-RevId: 49404748cc90cb7bdef0460f7e9837196f81cae8
This commit is contained in:
Andrew Rumble
2025-06-25 08:06:59 +00:00
committed by Copybot
parent c7ae851d39
commit e76a8ff267
31 changed files with 691 additions and 687 deletions
@@ -264,8 +264,8 @@ describe('ProjectUploadController', function () {
})
describe('with folder structure', function () {
beforeEach(function (ctx) {
return new Promise(resolve => {
beforeEach(async function (ctx) {
await new Promise(resolve => {
ctx.entity = {
_id: '1234',
type: 'file',