├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── index.js ├── package.json ├── templates ├── function-template.ejs └── test-template.ejs ├── test ├── integration-options10.x.js ├── integration10.x-babel.js ├── integration10.x.js ├── integration12.x.js ├── integration8.10.js ├── mochaPlugin.js ├── test-service-node10.x-babel │ ├── .npmignore │ ├── .serverless_plugins │ │ └── serverless-mocha-plugin │ │ │ └── index.js │ ├── handler.js │ ├── package.json │ ├── serverless.yml │ └── templates │ │ ├── function-template.ejs │ │ └── test-template.ejs ├── test-service-node10.x │ ├── .npmignore │ ├── .serverless_plugins │ │ └── serverless-mocha-plugin │ │ │ └── index.js │ ├── handler.js │ └── serverless.yml ├── test-service-node12.x │ ├── .npmignore │ ├── .serverless_plugins │ │ └── serverless-mocha-plugin │ │ │ └── index.js │ ├── handler.js │ └── serverless.yml ├── test-service-node8.10 │ ├── .npmignore │ ├── .serverless_plugins │ │ └── serverless-mocha-plugin │ │ │ └── index.js │ ├── handler.js │ └── serverless.yml ├── test-service-options │ ├── .env │ ├── .npmignore │ ├── .serverless_plugins │ │ └── serverless-mocha-plugin │ │ │ └── index.js │ ├── handler.js │ ├── serverless.yml │ └── testBuild │ │ ├── goodbye │ │ └── index.js │ │ └── handler.js ├── testUtils.js └── utils.js └── utils.js /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | tmp 3 | testBuild -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/package.json -------------------------------------------------------------------------------- /templates/function-template.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/templates/function-template.ejs -------------------------------------------------------------------------------- /templates/test-template.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/templates/test-template.ejs -------------------------------------------------------------------------------- /test/integration-options10.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/integration-options10.x.js -------------------------------------------------------------------------------- /test/integration10.x-babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/integration10.x-babel.js -------------------------------------------------------------------------------- /test/integration10.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/integration10.x.js -------------------------------------------------------------------------------- /test/integration12.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/integration12.x.js -------------------------------------------------------------------------------- /test/integration8.10.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/integration8.10.js -------------------------------------------------------------------------------- /test/mochaPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/mochaPlugin.js -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/.npmignore -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/.serverless_plugins/serverless-mocha-plugin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/.serverless_plugins/serverless-mocha-plugin/index.js -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/handler.js -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/package.json -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/serverless.yml -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/templates/function-template.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/templates/function-template.ejs -------------------------------------------------------------------------------- /test/test-service-node10.x-babel/templates/test-template.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x-babel/templates/test-template.ejs -------------------------------------------------------------------------------- /test/test-service-node10.x/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x/.npmignore -------------------------------------------------------------------------------- /test/test-service-node10.x/.serverless_plugins/serverless-mocha-plugin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x/.serverless_plugins/serverless-mocha-plugin/index.js -------------------------------------------------------------------------------- /test/test-service-node10.x/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x/handler.js -------------------------------------------------------------------------------- /test/test-service-node10.x/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node10.x/serverless.yml -------------------------------------------------------------------------------- /test/test-service-node12.x/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node12.x/.npmignore -------------------------------------------------------------------------------- /test/test-service-node12.x/.serverless_plugins/serverless-mocha-plugin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node12.x/.serverless_plugins/serverless-mocha-plugin/index.js -------------------------------------------------------------------------------- /test/test-service-node12.x/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node12.x/handler.js -------------------------------------------------------------------------------- /test/test-service-node12.x/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node12.x/serverless.yml -------------------------------------------------------------------------------- /test/test-service-node8.10/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node8.10/.npmignore -------------------------------------------------------------------------------- /test/test-service-node8.10/.serverless_plugins/serverless-mocha-plugin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node8.10/.serverless_plugins/serverless-mocha-plugin/index.js -------------------------------------------------------------------------------- /test/test-service-node8.10/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node8.10/handler.js -------------------------------------------------------------------------------- /test/test-service-node8.10/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-node8.10/serverless.yml -------------------------------------------------------------------------------- /test/test-service-options/.env: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test-service-options/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/.npmignore -------------------------------------------------------------------------------- /test/test-service-options/.serverless_plugins/serverless-mocha-plugin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/.serverless_plugins/serverless-mocha-plugin/index.js -------------------------------------------------------------------------------- /test/test-service-options/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/handler.js -------------------------------------------------------------------------------- /test/test-service-options/serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/serverless.yml -------------------------------------------------------------------------------- /test/test-service-options/testBuild/goodbye/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/testBuild/goodbye/index.js -------------------------------------------------------------------------------- /test/test-service-options/testBuild/handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/test-service-options/testBuild/handler.js -------------------------------------------------------------------------------- /test/testUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/testUtils.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/test/utils.js -------------------------------------------------------------------------------- /utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nordcloud/serverless-mocha-plugin/HEAD/utils.js --------------------------------------------------------------------------------