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
Refactor isNullish from different package to js.common #2986
Conversation
Codecov Report
@@ Coverage Diff @@
## fixPromiseReturnsInSetupAndHandleSummary #2986 +/- ##
===========================================================================
Coverage ? 76.86%
===========================================================================
Files ? 228
Lines ? 16985
Branches ? 0
===========================================================================
Hits ? 13056
Misses ? 3086
Partials ? 843
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -572,10 +572,6 @@ func unPromisify(v goja.Value) goja.Value { | |||
return v | |||
} |
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.
I think we could move unpromisify in the common package also
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 could ... but nothing else uses it - and I prefer to keep common
and util
packages smaller then bigger.
Arguably a lot of changes will happen around the ESM changes and some other module work - if it turns out this is used a lot we can move it then.
66a29ef
to
39e7489
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.
LGTM, restarted the flaky test
No description provided.