How to use the @google-cloud/storage.prototype function in @google-cloud/storage

To help you get started, we’ve selected a few @google-cloud/storage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cloudfoundry-incubator / service-fabrik-broker / test / test_broker / iaas.GcpClient.spec.js View on Github external
before(function () {
        sandbox = sinon.createSandbox();
        client = new GcpClient(settings);
        sandbox.stub(GcpStorage.prototype, 'bucket').withArgs(settings.container).returns(bucketStub);
        sandbox.stub(utils, 'streamToPromise').callsFake(utilsStreamToPromiseStub);
      after(function () {


Cloud Storage Client Library for Node.js

Latest version published 3 days ago

Package Health Score

91 / 100
Full package analysis