mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix tests to add new Features dependency
This commit is contained in:
parent
9cd3f32365
commit
823e12e4a8
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,8 @@ describe "ProjectController", ->
|
|||
@Modules =
|
||||
hooks:
|
||||
fire: sinon.stub()
|
||||
@Features =
|
||||
hasFeature: sinon.stub()
|
||||
@ProjectController = SandboxedModule.require modulePath, requires:
|
||||
"settings-sharelatex":@settings
|
||||
"logger-sharelatex":
|
||||
|
@ -102,6 +104,7 @@ describe "ProjectController", ->
|
|||
"../../infrastructure/Modules": @Modules
|
||||
"./ProjectEntityHandler": @ProjectEntityHandler
|
||||
"../Errors/Errors": Errors
|
||||
"../../Infrastructure/Features": @Features
|
||||
|
||||
@projectName = "£12321jkj9ujkljds"
|
||||
@req =
|
||||
|
|
Loading…
Reference in a new issue