Skip to content

lovefamilychildrenhappiness/ServerlessJestSpawnIssue

Repository files navigation

Setup Instructions

  1. Log into Serverless Dashboard, create a project and set up Access Roles for secure temporary AWS deployment

  2. run

npm install

to ensure the following serverless packages for CI/CD are installed: serverless-plugin-aws-alerts serverless-plugin-canary-deployments

  1. When creating a new Lambda Function that should cohere with Canary Deployment, ensure it contains the pretraffic/posttraffic hooks:
      preTrafficHook: preHook
      postTrafficHook: postHook
  1. Install jest as a dependency (rather than dev dependency) since it will be used in production for pretraffic hooks:
npm i jest
// package.json
"jest": {
    "verbose" : true
}

About

this reproduces the spawn issue in serverless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published