Skip to content
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

Tests failing for Node > 14 #4149

Merged
merged 3 commits into from
Dec 17, 2021
Merged

Tests failing for Node > 14 #4149

merged 3 commits into from
Dec 17, 2021

Conversation

takameyer
Copy link
Contributor

napi_create_reference returns napi_invalid_arg instead of napi_object_expected.
Extended logic for this case.

Also updated node-addon-api to 4.2.0

☑️ ToDos

  • 📝 Changelog entry
  • 📝 Compatibility label is updated or copied from previous entry
  • 🚦 Tests
  • 📱 Check the React Native/other sample apps work if necessary
  • 📝 Public documentation PR created or is not necessary
  • 💥 Breaking label has been applied or is not necessary

If this PR adds or changes public API's:

  • typescript definitions file is updated
  • jsdoc files updated
  • Chrome debug API is updated if API is available on React Native

@cla-bot cla-bot bot added the cla: yes label Dec 15, 2021
@takameyer takameyer requested review from kneth, tomduncalf, fronck, kraenhansen and blagoev and removed request for kneth December 15, 2021 12:54
@takameyer takameyer force-pushed the andrew/fix/node_16_issue branch 2 times, most recently from 0440f9b to de16302 Compare December 15, 2021 13:00
tests/js/list-tests.js Outdated Show resolved Hide resolved
@takameyer takameyer force-pushed the andrew/fix/node_16_issue branch from de16302 to 8da1149 Compare December 15, 2021 13:50
`napi_create_reference` returns `napi_invalid_arg` instead of `napi_object_expected`.
Extended logic for this case.

Also updated `node-addon-api` to `4.2.0`
@takameyer takameyer force-pushed the andrew/fix/node_16_issue branch from 8da1149 to aa33db3 Compare December 15, 2021 13:53
Copy link
Contributor

@kneth kneth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@takameyer takameyer merged commit 6c74c61 into master Dec 17, 2021
@takameyer takameyer deleted the andrew/fix/node_16_issue branch December 17, 2021 08:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants