-
Notifications
You must be signed in to change notification settings - Fork 465
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: use assert.strictEqual() #777
Conversation
assert.strictEqual(typeof await testCall({ blocking: true, data: true }) , "number"); | ||
assert.strictEqual(typeof await testCall({ blocking: true, data: false }) , "undefined"); | ||
assert.strictEqual(typeof await testCall({ blocking: false, data: true }) , "number"); | ||
assert.strictEqual(typeof await testCall({ blocking: false, data: false }) , "undefined"); |
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.
@Nishikoh could you remove the space before the comma ","?
Es.
assert.strictEqual(typeof await testCall({ blocking: false, data: false }), "undefined");
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.
Thank you for the review. Fixed it.
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.
On v15.x it fails for unrelated reasons – specifically, because the |
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
Rebased. |
Fixes: #775 PR-URL: #777 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Landed in 4ce40d2. |
Fixes: nodejs/node-addon-api#775 PR-URL: nodejs/node-addon-api#777 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Fixes: nodejs/node-addon-api#775 PR-URL: nodejs/node-addon-api#777 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Fixes: nodejs/node-addon-api#775 PR-URL: nodejs/node-addon-api#777 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Fixes: nodejs/node-addon-api#775 PR-URL: nodejs/node-addon-api#777 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Fix #775