[misc] add a metric for failing downloads

This commit is contained in:
Jakob Ackermann authored and Jakob Ackermann committed 2020-04-03 12:35:40 +02:00
1 parent 54ce1373af
commit 638d2f30d3
2 files changed
+2

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ describe('ResourceWriter', function() {
'./OutputFileFinder': (this.OutputFileFinder = {}),
'logger-sharelatex': { log: sinon.stub(), err: sinon.stub() },
'./Metrics': (this.Metrics = {
inc: sinon.stub(),
Timer: (Timer = (function() {
Timer = class Timer {
static initClass() {