|
|
@@ -28,8 +28,7 @@ describe('S3PersistorTests', function () {
|
|
|
const filesSize = 33
|
|
|
const md5 = 'ffffffff00000000ffffffff00000000'
|
|
|
|
|
|
- let Metrics,
|
|
|
- Logger,
|
|
|
+ let Logger,
|
|
|
Transform,
|
|
|
S3,
|
|
|
Fs,
|
|
|
@@ -73,10 +72,6 @@ describe('S3PersistorTests', function () {
|
|
|
promise: sinon.stub().resolves()
|
|
|
}
|
|
|
|
|
|
- Metrics = {
|
|
|
- count: sinon.stub()
|
|
|
- }
|
|
|
-
|
|
|
ReadStream = {
|
|
|
pipe: sinon.stub().returns('readStream'),
|
|
|
on: sinon.stub(),
|
|
|
@@ -155,7 +150,6 @@ describe('S3PersistorTests', function () {
|
|
|
'./Errors': Errors,
|
|
|
fs: Fs,
|
|
|
stream: Stream,
|
|
|
- 'metrics-sharelatex': Metrics,
|
|
|
crypto
|
|
|
},
|
|
|
globals: { console, Buffer }
|