-
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
Error: Cannot find module 'undefined/path/to/functions' #135
Comments
it seems like I.e. |
Thanks for your comment, I've ran on the same issue and changed the line I've tested on Windows and soon I'll test it on Mac to see if it works, and if it works properly maybe commit the change and wait for a PR to be merged 😊 |
In my case I had to switch this line in my test file
to this:
Where my function is named hello and it's handler is a file called index.js. I had called |
Hi 👋
I am very new to Serverless, so I may be skipping something relatively obvious.
I have set up a test-template/test as per this guide. The test function generated by the template looks like it is passing the correct values to
mochaPlugin
, however the tests do not run and the following is printed out in the console:Is this a known issue?
Have a great day 😄
The text was updated successfully, but these errors were encountered: