This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 517
Support for new Option constructor #975
Comments
It looks as if Option is defined in node_modules/commander/index.js . What eludes me is how that is loaded into the "browser". |
Never mind, commander seems to be unrelated :-/ |
This is a bug in jsdom, see jsdom/jsdom#1759 To fix this zombie needs to use a version of jsdom later than 9.12.0 |
@assaf Any plans to do anything about this? Will you release a version with a newer jsdom soon? |
There's a PR in progress for upgrading to JSDOM 11.5.1: #1153 |
Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am loading a javascript library that uses this code:
new Option(....)
it works fine on the browser, but zombies is throwing an error:
ReferenceError: Option is not defined
Is there anything we can do?
Thanks for the library
The text was updated successfully, but these errors were encountered: