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 13:58:57 +00:00
committed by sharelatex
parent 6fc507aea3
commit 757ae39487
170 changed files with 1691 additions and 1691 deletions
@@ -334,7 +334,7 @@ describe('ProjectDuplicator', function() {
)
})
return it('should copy all the files', function(done) {
it('should copy all the files', function(done) {
return this.duplicator.duplicate(
this.owner,
this.old_project_id,
@@ -376,7 +376,7 @@ describe('ProjectDuplicator', function() {
})
})
return describe('when there is an error', function() {
describe('when there is an error', function() {
beforeEach(function() {
return (this.rootFolder.fileRefs = [
{ name: 'file0', _id: 'file0' },
@@ -414,7 +414,7 @@ describe('ProjectDuplicator', function() {
)
})
return it('should return an error', function(done) {
it('should return an error', function(done) {
return this.duplicator.duplicate(
this.owner,
this.old_project_id,