-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
test: improve test coverage for n-api #12327
Conversation
Add basic tests for handle scopes as code coverage reports that we are not covering these with the existing tests.
const assert = require('assert'); | ||
|
||
// testing handle scope api calls | ||
const test_handle_scope = |
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.
Can you use camelCase in the JS code.
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.
sure just copied other existing test as a base, but that's not a good reason :). Updating
Pushed commit to address switch to camel case in js. |
Landed as 0ec0272 |
Add basic tests for handle scopes as code coverage reports that we are not covering these with the existing tests. PR-URL: #12327 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Add basic tests for handle scopes as code coverage reports that we are not covering these with the existing tests. PR-URL: nodejs#12327 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Add basic tests for handle scopes as code coverage reports that we are not covering these with the existing tests. Backport-PR-URL: #19447 PR-URL: #12327 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Add basic tests for handle scopes as code coverage
reports that we are not covering these with the existing
tests.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test, n-api