We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GPXparser initialize jsdom when it finds that module is not defined:
if(typeof module !== 'undefined'){ require('jsdom-global')(); module.exports = gpxParser; }
In case if dom will be configured somewhere else it could cause conflicts.
In my case: I have a Vue application using GPXParser and running tests with vitest causing double jsdom initialization.
Could you please change it to something like this:
if(typeof module !== 'undefined'){ if (typeof document == 'undefined') { require('jsdom-global')(); } module.exports = gpxParser; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
GPXparser initialize jsdom when it finds that module is not defined:
In case if dom will be configured somewhere else it could cause conflicts.
In my case: I have a Vue application using GPXParser and running tests with vitest causing double jsdom initialization.
Could you please change it to something like this:
The text was updated successfully, but these errors were encountered: