-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
test: improve test coverage for n-api #12327
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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 <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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