INNER CODE UNIT · JavaScript
pluginFactory
ACloudGuru/serverless-plugin-aws-alerts · src/index.test.js:8
const pluginFactory = (alarmsConfig, s) => {
const stage = s || 'dev';
const functions = {
foo: {
name: 'foo',
},
};
const serverless = {
cli: {
log: console.log, // eslint-disable-line no-console
},
config: {
servicePath: testServicePath,
},
service: {
custom: {
alerts: alarmsConfig,