mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Convert return new Promise to await new Promise
GitOrigin-RevId: 49404748cc90cb7bdef0460f7e9837196f81cae8
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user