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
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user