'use strict'; // tests for <%= functionName %> // Generated by serverless-mocha-plugin const mochaPlugin = require('serverless-mocha-plugin'); const expect = mochaPlugin.chai.expect; let wrapped = mochaPlugin.getWrapper('<%= functionName %>', '/<%= functionPath %>', '<%= handlerName %>'); describe('<%= functionName %>', () => { before((done) => { done(); }); it('implement tests here', () => { return wrapped.run({}).then((response) => { expect(response).to.not.be.empty; }); }); });