-
Notifications
You must be signed in to change notification settings - Fork 50
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 read property 'handler' of undefined #143
Comments
Hi, |
It's Strange, but I managed to make it work by using
|
Yes it works :) |
I'm having the same issue when using Your Environment Information --------------------------- |
I install the plugin using:
serverless plugin install --name serverless-mocha
when I try to create a function like this:
sls create function -f testFunction --handler src/functions/testFunction.testFunction -p src/tests/
I get the following result:
It creates the function file at
src/functions/testFunction.testFunction.js
but theserverless.yaml
file changes are:and no test file is generated.
The text was updated successfully, but these errors were encountered: