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

[Question] How can I test the lambda? #22

Open
shinayser opened this issue Dec 7, 2020 · 0 comments
Open

[Question] How can I test the lambda? #22

shinayser opened this issue Dec 7, 2020 · 0 comments

Comments

@shinayser
Copy link

I am, not just unit testing, but the app itself. When I try to run it I get the error:

Unhandled exception:
NoSuchMethodError: The getter 'requestId' was called on null.
Receiver: null
Tried calling: requestId
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      Runtime.invoke (package:aws_lambda_dart_runtime/runtime/runtime.dart:117:28)
<asynchronous suspension>
#2      main (file:///C:/Users/shina/Desenvolvimento/dart_projects/lambda_test/bin/lambda_test.dart:62:7)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

There is a way to run it (for testing purposes) locally, without having to upload the zip file to aws?

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