mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add some missing unit test mocks
This commit is contained in:
parent
2c25cbaf25
commit
c2777918fa
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ describe "UserUpdater", ->
|
||||||
removeAffiliation: @removeAffiliation
|
removeAffiliation: @removeAffiliation
|
||||||
"../../infrastructure/mongojs":@mongojs
|
"../../infrastructure/mongojs":@mongojs
|
||||||
"metrics-sharelatex": timeAsyncMethod: sinon.stub()
|
"metrics-sharelatex": timeAsyncMethod: sinon.stub()
|
||||||
|
"settings-sharelatex": @settings = {}
|
||||||
|
"request": @request = {}
|
||||||
|
|
||||||
@stubbedUser =
|
@stubbedUser =
|
||||||
_id: "3131231"
|
_id: "3131231"
|
||||||
|
|
Loading…
Reference in a new issue