mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
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:
committed by
sharelatex
parent
6fc507aea3
commit
757ae39487
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user