import { pipeline } from 'stream'
import { randomInt } from '@shared/core-utils'
import { ObjectStorageCommand } from '../server'
+import { terminateServer } from './utils'
export class MockObjectStorage {
private server: Server
}
terminate () {
- if (this.server) this.server.close()
+ return terminateServer(this.server)
}
}