Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
unmockDynamoDB: function () {
'use strict';
AWSMOCK.restore('DynamoDB.DocumentClient');
},
afterEach(() => {
AWS.restore('S3');
});
afterEach(function() {
AWS.restore('DynamoDB.DocumentClient');
});
afterEach(function() {
AWS.restore('ElasticTranscoder');
AWS.restore('Lambda');
delete process.env.Mp4Pipeline;
delete process.env.ErrorHandler;
});
afterEach(function() {
AWS.restore('DynamoDB.DocumentClient');
AWS.restore('Lambda');
delete process.env.ErrorHandler;
});
afterEach(function() {
AWS.restore('Rekognition');
});
afterEach(function() {
AWS.restore('StepFunctions');
AWS.restore('Lambda');
delete process.env.IngestWorkflow;
delete process.env.ErrorHandler;
});
deactivate = () => {
AWSMock.restore('S3')
return this
}
afterEach(function() {
AWS.restore('ElasticTranscoder');
AWS.restore('Lambda');
delete process.env.AbrPipeline;
delete process.env.ErrorHandler;
});
afterEach(() => AWS.restore('DynamoDB.DocumentClient'));