mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add missing require
This commit is contained in:
parent
586e3814fe
commit
5954e45016
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,9 @@ describe 'TemplatesController', ->
|
||||||
@dumpFolder = "dump/path"
|
@dumpFolder = "dump/path"
|
||||||
@ProjectOptionsHandler = {setCompiler:sinon.stub().callsArgWith(2)}
|
@ProjectOptionsHandler = {setCompiler:sinon.stub().callsArgWith(2)}
|
||||||
@uuid = "1234"
|
@uuid = "1234"
|
||||||
|
@ProjectRootDocManager = {
|
||||||
|
setRootDocFromName: sinon.stub().callsArgWith(2)
|
||||||
|
}
|
||||||
@ProjectDetailsHandler =
|
@ProjectDetailsHandler =
|
||||||
getProjectDescription:sinon.stub()
|
getProjectDescription:sinon.stub()
|
||||||
@Project =
|
@Project =
|
||||||
|
@ -31,6 +34,7 @@ describe 'TemplatesController', ->
|
||||||
@controller = SandboxedModule.require modulePath, requires:
|
@controller = SandboxedModule.require modulePath, requires:
|
||||||
'../../../js/Features/Uploads/ProjectUploadManager':@ProjectUploadManager
|
'../../../js/Features/Uploads/ProjectUploadManager':@ProjectUploadManager
|
||||||
'../../../js/Features/Project/ProjectOptionsHandler':@ProjectOptionsHandler
|
'../../../js/Features/Project/ProjectOptionsHandler':@ProjectOptionsHandler
|
||||||
|
'../../../js/Features/Project/ProjectRootDocManager':@ProjectRootDocManager
|
||||||
'../../../js/Features/Authentication/AuthenticationController': @AuthenticationController = {getLoggedInUserId: sinon.stub()}
|
'../../../js/Features/Authentication/AuthenticationController': @AuthenticationController = {getLoggedInUserId: sinon.stub()}
|
||||||
'./TemplatesPublisher':@TemplatesPublisher
|
'./TemplatesPublisher':@TemplatesPublisher
|
||||||
"logger-sharelatex":
|
"logger-sharelatex":
|
||||||
|
|
Loading…
Reference in a new issue