diff --git a/tests/fixtures/function/index.js b/tests/fixtures/function/index.js new file mode 100644 index 000000000..11bceba2d --- /dev/null +++ b/tests/fixtures/function/index.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports.handler = (event, context, callback) => + callback(null, { + statusCode: 200, + body: JSON.stringify({}), + }); diff --git a/tests/fixtures/function/serverless.yml b/tests/fixtures/function/serverless.yml new file mode 100644 index 000000000..378dc0f71 --- /dev/null +++ b/tests/fixtures/function/serverless.yml @@ -0,0 +1,9 @@ +service: service +provider: + name: aws + +functions: + foo: + handler: index.handler + other: + handler: index.handler