-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix: support module namespaces for node.js #10105
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
base: v3
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10105 +/- ##
==========================================
- Coverage 85.39% 85.26% -0.13%
==========================================
Files 334 334
Lines 13604 13648 +44
==========================================
+ Hits 11617 11637 +20
- Misses 1987 2011 +24
Continue to review full report at Codecov.
|
6e02033
to
986b495
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @dnalborczyk - it looks good in general, however the tests should be using runServerless
based approach as we're slowly migrating old tests to it and not allow introduction of new tests written the "old way". Would you be able to adjust them?
EDIT: Looks like there are some failing tests
@@ -414,8 +414,90 @@ describe('AwsInvokeLocal', () => { | |||
|
|||
describe('for different handler paths', () => { | |||
[ | |||
{ path: 'handler.hello', expected: 'handler' }, | |||
{ path: '.build/handler.hello', expected: '.build/handler' }, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not expand the old-style tests but rather all new ones should use runServerless
-based approach
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v3 #10105 +/- ##
==========================================
- Coverage 85.39% 85.26% -0.13%
==========================================
Files 334 334
Lines 13604 13648 +44
==========================================
+ Hits 11617 11637 +20
- Misses 1987 2011 +24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Closes: #10091
for future reference: with this commit, once released, we could potentially add the RIC to the dependencies and call the handler directly.