Merge pull request #1899 from overleaf/spd-implicit-return-tests

Decaf cleanup: Remove implicit return from 'it' and 'describe' in tests

GitOrigin-RevId: f297820e6212dddc0d60697a2fe1612ef27403b6
This commit is contained in:
Simon Detheridge
2019-06-21 14:46:09 +01:00
committed by sharelatex
parent 6fc507aea3
commit 757ae39487
170 changed files with 1691 additions and 1691 deletions
@@ -110,7 +110,7 @@ describe('ProjectStructureMongoLock', () =>
)
})
return it('can get the project if rootFolder is not in the projection', function(done) {
it('can get the project if rootFolder is not in the projection', function(done) {
return ProjectGetter.getProject(
this.locked_project._id,
{ _id: true },
@@ -123,7 +123,7 @@ describe('ProjectStructureMongoLock', () =>
})
})
return describe('interacting with other projects', function() {
describe('interacting with other projects', function() {
before(function(done) {
return ProjectCreationHandler.createBlankProject(
this.user._id,
@@ -151,7 +151,7 @@ describe('ProjectStructureMongoLock', () =>
)
})
return it('can get other projects without a projection', function(done) {
it('can get other projects without a projection', function(done) {
return ProjectGetter.getProject(
this.unlocked_project._id,
(err, project) => {