|
|
@@ -195,9 +195,7 @@ describe('MigrationPersistorTests', function () {
|
|
|
})
|
|
|
|
|
|
it('should send a stream to the primary', function () {
|
|
|
- expect(
|
|
|
- primaryPersistor.sendStream
|
|
|
- ).to.have.been.calledWithExactly(
|
|
|
+ expect(primaryPersistor.sendStream).to.have.been.calledWithExactly(
|
|
|
bucket,
|
|
|
key,
|
|
|
sinon.match.instanceOf(Stream.PassThrough),
|
|
|
@@ -476,9 +474,7 @@ describe('MigrationPersistorTests', function () {
|
|
|
})
|
|
|
|
|
|
it('should send the file to the primary', function () {
|
|
|
- expect(
|
|
|
- primaryPersistor.sendStream
|
|
|
- ).to.have.been.calledWithExactly(
|
|
|
+ expect(primaryPersistor.sendStream).to.have.been.calledWithExactly(
|
|
|
bucket,
|
|
|
destKey,
|
|
|
sinon.match.instanceOf(Stream.PassThrough),
|