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
@@ -55,7 +55,7 @@ describe('ProxyManager', function() {
return assertCalledWith(this.router.get, '/foo/:id')
})
return it('applies methods other than get', function() {
it('applies methods other than get', function() {
this.router = {
post: sinon.stub(),
put: sinon.stub()
@@ -72,7 +72,7 @@ describe('ProxyManager', function() {
})
})
return describe('createProxy', function() {
describe('createProxy', function() {
beforeEach(function() {
this.req.url = this.proxyPath
this.req.route.path = this.proxyPath
@@ -188,7 +188,7 @@ describe('ProxyManager', function() {
})
})
return it('passes body for put', function() {
it('passes body for put', function() {
const target = {
baseUrl: 'api.v1',
path: '/foo',