@silvermine/serverless-plugin-cloudfront-lambda-edge
Version:
Plugin for the SLS 1.x branch to provide support for Lambda@Edge (not currently supported by CloudFormation
41 lines (32 loc) • 854 B
JavaScript
var _ = require('underscore'),
expect = require('expect.js'),
Plugin = require('../index.js'),
sinon = require('sinon'); // eslint-disable-line no-unused-vars
function stubServerless() {
return {
getProvider: function() {
return {};
},
cli: {
log: _.noop,
consoleLog: _.noop,
printDot: _.noop,
},
configSchemaHandler: {
defineCustomProperties: _.noop,
defineFunctionProperties: _.noop,
},
};
}
describe('serverless-plugin-cloudfront-lambda-edge', function() {
var plugin; // eslint-disable-line no-unused-vars
beforeEach(function() {
plugin = new Plugin(stubServerless(), {});
});
describe('TODO', function() {
it('needs to be tested', function() {
expect(1).to.eql(1);
});
});
});
;