mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +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
@@ -69,7 +69,7 @@ describe('ProjectUpdateHandler', function() {
|
||||
)
|
||||
})
|
||||
|
||||
return it('should set smart fallbacks', function(done) {
|
||||
it('should set smart fallbacks', function(done) {
|
||||
return this.handler.markAsUpdated(this.project_id, null, null, err => {
|
||||
sinon.assert.calledWithMatch(
|
||||
this.ProjectModel.update,
|
||||
@@ -111,7 +111,7 @@ describe('ProjectUpdateHandler', function() {
|
||||
})
|
||||
}))
|
||||
|
||||
return describe('markAsActive', () =>
|
||||
describe('markAsActive', () =>
|
||||
it('should send an update to mongo', function(done) {
|
||||
const project_id = 'project_id'
|
||||
return this.handler.markAsActive(project_id, err => {
|
||||
|
||||
Reference in New Issue
Block a user