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

Fixes #172 #3761

Closed
wants to merge 1 commit into from
Closed

Fixes #172 #3761

wants to merge 1 commit into from

Conversation

arturovt
Copy link
Contributor

@arturovt arturovt commented Jul 23, 2023

I've firstly checked the comment left by Jarred in the issue, but seems like inherits is never truthy (I was using @resvg/resvg-js). I was only able to get a valid pointer to NapiClass going through the prototype chain. I don't know if the code in this PR is valid, but I was able to make @resvg/resvg-js functioning.

P.S. where should be tests located in?

Issue: #172

@paperdave
Copy link
Collaborator

This definitely needs tests. They can go anywhere within test/js, probably could make an napi tests folder like test/js/node/napi

@paperdave
Copy link
Collaborator

This was fixed in #4220

@paperdave paperdave closed this Aug 22, 2023
@arturovt arturovt deleted the fix/172 branch August 23, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants