How to use the aws-sdk-mock.restore function in aws-sdk-mock

To help you get started, we’ve selected a few aws-sdk-mock 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 BrianMacIntosh / alexa-skill-test-framework / index.js View on Github external
unmockDynamoDB: function () {
		'use strict';
		AWSMOCK.restore('DynamoDB.DocumentClient');
	},
github awslabs / video-on-demand-on-aws / source / process / lib / ets-encode-mp4.spec.js View on Github external
afterEach(function() {
            AWS.restore('ElasticTranscoder');
            AWS.restore('Lambda');
            delete process.env.Mp4Pipeline;
            delete process.env.ErrorHandler;
        });
github awslabs / video-on-demand-on-aws / source / publish / lib / ets-job-check.spec.js View on Github external
afterEach(function() {
            AWS.restore('DynamoDB.DocumentClient');
            AWS.restore('Lambda');
            delete process.env.ErrorHandler;
        });
github awslabs / video-on-demand-on-aws / source / process / lib / process-execute.spec.js View on Github external
afterEach(function() {
            AWS.restore('StepFunctions');
            AWS.restore('Lambda');
            delete process.env.IngestWorkflow;
            delete process.env.ErrorHandler;
        });
github seagull-js / seagull / packages / mock-s3 / src / mock-fs.ts View on Github external
deactivate = () => {
    AWSMock.restore('S3')
    return this
  }
github awslabs / video-on-demand-on-aws / source / process / lib / ets-encode-dash.spec.js View on Github external
afterEach(function() {
            AWS.restore('ElasticTranscoder');
            AWS.restore('Lambda');
            delete process.env.AbrPipeline;
            delete process.env.ErrorHandler;
        });

aws-sdk-mock

Functions to mock the JavaScript aws-sdk

Apache-2.0
Latest version published 3 months ago

Package Health Score

86 / 100
Full package analysis