diff --git a/services/web/test/acceptance/src/RestoringFilesTest.js b/services/web/test/acceptance/src/RestoringFilesTest.js index 8dda051421..a1a893d0f1 100644 --- a/services/web/test/acceptance/src/RestoringFilesTest.js +++ b/services/web/test/acceptance/src/RestoringFilesTest.js @@ -99,7 +99,6 @@ describe('RestoringFiles', function() { ) expect(restored_doc._id.toString()).to.equal(this.restored_doc_id) expect(this.doc._id).to.not.equal(this.restored_doc_id) - // console.log @doc_id, @restored_doc_id, MockDocstoreApi.docs[@project_id] expect( MockDocstoreApi.docs[this.project_id][this.restored_doc_id].lines ).to.deep.equal( diff --git a/services/web/test/unit/src/Institutions/InstitutionsGetterTests.js b/services/web/test/unit/src/Institutions/InstitutionsGetterTests.js index eaadc22e3c..e574bc451f 100644 --- a/services/web/test/unit/src/Institutions/InstitutionsGetterTests.js +++ b/services/web/test/unit/src/Institutions/InstitutionsGetterTests.js @@ -30,9 +30,7 @@ describe('InstitutionsGetter', function() { '../UserMembership/UserMembershipsHandler': (this.UserMembershipsHandler = {}), '../UserMembership/UserMembershipEntityConfigs': (this.UserMembershipEntityConfigs = {}), 'logger-sharelatex': { - log() { - return console.log(arguments) - }, + log() {}, err() {} } } diff --git a/services/web/test/unit/src/Publishers/PublishersGetterTests.js b/services/web/test/unit/src/Publishers/PublishersGetterTests.js index fa66f45db2..5722947e54 100644 --- a/services/web/test/unit/src/Publishers/PublishersGetterTests.js +++ b/services/web/test/unit/src/Publishers/PublishersGetterTests.js @@ -49,9 +49,7 @@ describe('PublishersGetter', function() { } }), 'logger-sharelatex': { - log() { - return console.log(arguments) - }, + log() {}, err() {} } } diff --git a/services/web/test/unit/src/Subscription/FeaturesUpdaterTests.js b/services/web/test/unit/src/Subscription/FeaturesUpdaterTests.js index 23f90860cf..390a13a4b1 100644 --- a/services/web/test/unit/src/Subscription/FeaturesUpdaterTests.js +++ b/services/web/test/unit/src/Subscription/FeaturesUpdaterTests.js @@ -32,9 +32,7 @@ describe('FeaturesUpdater', function() { './PlansLocator': (this.PlansLocator = {}), 'logger-sharelatex': { log() {}, - warn(obj, text) { - console.log(text) - } + warn() {} }, 'settings-sharelatex': (this.Settings = {}), '../Referal/ReferalFeatures': (this.ReferalFeatures = {}), diff --git a/services/web/test/unit/src/User/UserEmailsConfirmationHandlerTests.js b/services/web/test/unit/src/User/UserEmailsConfirmationHandlerTests.js index 64c7d713ad..5257476430 100644 --- a/services/web/test/unit/src/User/UserEmailsConfirmationHandlerTests.js +++ b/services/web/test/unit/src/User/UserEmailsConfirmationHandlerTests.js @@ -246,7 +246,6 @@ describe('UserEmailsConfirmationHandler', function() { }) it('should call the callback with a NotFoundError', function() { - console.log(this.callback.lastCall.args) return this.callback .calledWith(sinon.match.instanceOf(Errors.NotFoundError)) .should.equal(true) diff --git a/services/web/test/unit/src/User/UserEmailsControllerTests.js b/services/web/test/unit/src/User/UserEmailsControllerTests.js index 67d6d50441..2facb49d4e 100644 --- a/services/web/test/unit/src/User/UserEmailsControllerTests.js +++ b/services/web/test/unit/src/User/UserEmailsControllerTests.js @@ -75,9 +75,7 @@ describe('UserEmailsController', function() { '../Errors/HttpErrorHandler': this.HttpErrorHandler, '../Errors/Errors': Errors, 'logger-sharelatex': { - log() { - console.log(arguments) - }, + log() {}, err() {} } }