Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot create property 'ejs' on boolean 'true' #29

Open
JeremyCraigMartinez opened this issue Jan 15, 2019 · 0 comments
Open

Comments

@JeremyCraigMartinez
Copy link

    TypeError: Cannot create property 'ejs' on boolean 'true'

      1 | const mod = require('../../dist/lambdas/query-item');
      2 | 
    > 3 | const jestPlugin = require('serverless-jest-plugin');
        |                    ^
      4 | 

Getting an error with sls invoke test...

Here is what my serverless.yml looks like

plugins:
  - serverless-offline
  - serverless-jest-plugin

...

custom:
  jest:
    collectCoverage: true
    collectCoverageFrom: "src/**/*.js"
    testURL: "http://localhost:3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant