Merge pull request #17873 from overleaf/jpa-await-user-login

[web] await promisified user login in ProjectStructureTests

GitOrigin-RevId: 68df8931a5c7c3843367c6fd34a66278c212ff5b
This commit is contained in:
Jakob Ackermann 2024-04-11 12:10:39 +01:00 committed by Copybot
parent ea0a99253c
commit c9373c25f4

View file

@ -20,9 +20,9 @@ before(function () {
describe('ProjectStructureChanges', function () {
let owner
beforeEach(function (done) {
beforeEach(async function () {
owner = new User()
owner.login(done)
await owner.login()
})
async function createExampleProject(owner) {