Revert "format fix"

This reverts commit ed06e07c536e3faa984326a02bbc633b7837e859.

GitOrigin-RevId: b4ed8349c9867838442af9c06a2a1a54fe40e57b
This commit is contained in:
Ersun Warncke 2020-02-11 09:19:47 -04:00 committed by Copybot
parent 5abb9ab855
commit a6a624eaa3

View file

@ -1142,24 +1142,15 @@ describe('ProjectStructureChanges', function() {
})
it('should clear rootDoc_id', function(done) {
deleteItem(
owner,
this.exampleProjectId,
'doc',
this.exampleDocId,
() => {
ProjectGetter.getProject(
this.exampleProjectId,
(error, project) => {
deleteItem(owner, this.exampleProjectId, 'doc', this.exampleDocId, () => {
ProjectGetter.getProject(this.exampleProjectId, (error, project) => {
if (error) {
throw error
}
expect(project.rootDoc_id).to.be.undefined
done()
}
)
}
)
})
})
})
})
@ -1174,15 +1165,8 @@ describe('ProjectStructureChanges', function() {
})
it('should not clear rootDoc_id', function(done) {
deleteItem(
owner,
this.exampleProjectId,
'doc',
this.exampleDocId,
() => {
ProjectGetter.getProject(
this.exampleProjectId,
(error, project) => {
deleteItem(owner, this.exampleProjectId, 'doc', this.exampleDocId, () => {
ProjectGetter.getProject(this.exampleProjectId, (error, project) => {
if (error) {
throw error
}
@ -1190,10 +1174,8 @@ describe('ProjectStructureChanges', function() {
this.exampleRootDocId.toString()
)
done()
}
)
}
)
})
})
})
})
})