serverless-jest-plugin
serverless-jest-plugin copied to clipboard
Plugin for Serverless Framework which adds support for test-driven development using Jest
When using the following versions: ``` "serverless": "^3.19.0", "serverless-jest-plugin": "^0.4.0", ``` and executing `npx sls invoke test` the following error is reported: ``` Error: TypeError: serverless.classes.Variables is not a constructor...
I have written an API to sign-in which works perfectly fine on Postman. Have written a test for the same but the test fails. Attaching the error and test written....
Upgrade to the latest version of Jest
my current package.json configuration looks like ``` "scripts": { "deploy": "sls deploy", "test": "jest --coverage", "test:coverage": "npm run test -- --coverage --watchAll=false || exit 0" }, "jest": { "collectCoverage": true,...
Serverless version: 2.52.0 Serverless-jest-plugin version: 0.3.0 `sls create function -f myFunction --handler handlers/myFunction` This works, but shows a deprecation warning: ```Serverless: Deprecation warning: CLI options definitions were upgraded with "type"...
Hi all, I found this thread about starting Jest in watch mode for a serverless project but didn't want to post in this old thread: https://github.com/nordcloud/serverless-jest-plugin/issues/8 I couldn't find any...
Hello, First off, thank you very much for this plugin. Makes TS serverless development with Jest very much easier. I may have an interesting corner case to bring up, though...
Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. :vertical_traffic_light: To activate Renovate, merge this Pull Request. To disable...
Cloned custom test template functionality from severless-mocha-plugin
The solution would appear to be upgrading Jest, as per issue #13 Click to expand full audit log ``` === npm audit security report === ┌──────────────────────────────────────────────────────────────────────────────┐ │ Manual Review │...