Merge pull request #20348 from overleaf/jpa-disable-bull-pro
[web] provide stub interface for bull queues in Server Pro/CE GitOrigin-RevId: 014cf1a87c266fd760ff3c2bd493689bbf16e637
This commit is contained in:
@@ -98,6 +98,11 @@ describe('FeaturesUpdater', function () {
|
||||
this.Modules = {
|
||||
promises: { hooks: { fire: sinon.stub().resolves() } },
|
||||
}
|
||||
this.Queues = {
|
||||
getQueue: sinon.stub().returns({
|
||||
add: sinon.stub().resolves(),
|
||||
}),
|
||||
}
|
||||
|
||||
this.FeaturesUpdater = SandboxedModule.require(MODULE_PATH, {
|
||||
requires: {
|
||||
@@ -110,6 +115,7 @@ describe('FeaturesUpdater', function () {
|
||||
'../User/UserGetter': this.UserGetter,
|
||||
'../Analytics/AnalyticsManager': this.AnalyticsManager,
|
||||
'../../infrastructure/Modules': this.Modules,
|
||||
'../../infrastructure/Queues': this.Queues,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user