Merge pull request #3046 from overleaf/msm-cleanup-oerror-http

Finish o-error/http cleanup

GitOrigin-RevId: 1f8cf7f1e0503d1071c51b41ac136f7fb7f38872
This commit is contained in:
Miguel Serrano
2020-08-12 02:06:53 +00:00
committed by Copybot
parent fbfd6a3205
commit 42c917d909
10 changed files with 226 additions and 249 deletions
@@ -2,7 +2,6 @@ const SandboxedModule = require('sandboxed-module')
const path = require('path')
const sinon = require('sinon')
const { expect } = require('chai')
const HttpErrors = require('@overleaf/o-error/http')
const { ObjectId } = require('mongodb')
const Errors = require('../../../../app/src/Features/Errors/Errors')
@@ -144,7 +143,6 @@ describe('ProjectController', function() {
err() {}
},
'metrics-sharelatex': this.Metrics,
'@overleaf/o-error/http': HttpErrors,
'./ProjectDeleter': this.ProjectDeleter,
'./ProjectDuplicator': this.ProjectDuplicator,
'./ProjectCreationHandler': this.ProjectCreationHandler,