Merge pull request #32217 from overleaf/ar-log-long-fetches

[fetch-utils] allow long running requests to be logged

GitOrigin-RevId: 19688937b8aefe314b6bcde98c61badf4f250472
This commit is contained in:
Andrew Rumble
2026-03-18 09:07:31 +00:00
committed by Copybot
parent bf1f34bca6
commit 6f8a2ea9e3
3 changed files with 32 additions and 7 deletions
@@ -43,9 +43,13 @@ describe('LoggingManager', function () {
.stub()
.returns(this.GCEMetadataLogLevelChecker),
}
this.fetchUtils = {
setLogger: sinon.stub(),
}
this.LoggingManager = SandboxedModule.require(MODULE_PATH, {
requires: {
bunyan: this.Bunyan,
'@overleaf/fetch-utils': this.fetchUtils,
'./log-level-checker': this.LogLevelChecker,
},
})