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
In several places we are using fragment appending to achieve execution of scripts within appended HTML:
const fragment = document.createRange().createContextualFragment(html); element.appendChild(fragment);
Jest does not support testing this, throwing error that createRange is not defined.
createRange
@wincent analysed this here:
We'll get support for createRange in a future update of jsdom: jsdom/jsdom#317 jsdom/jsdom@30bedcf It's in v16.0.0. However, I don't think we can update yet because of performance problems: facebook/jest#9457
We'll get support for createRange in a future update of jsdom:
It's in v16.0.0.
However, I don't think we can update yet because of performance problems:
facebook/jest#9457
The text was updated successfully, but these errors were encountered:
See also: #234
When we do update, we'll be able to remove that mock.
Sorry, something went wrong.
Merge pull request #46 from liferay/wincent/json
a61f5d1
docs: correct "json" to "JSON"
No branches or pull requests
In several places we are using fragment appending to achieve execution of scripts within appended HTML:
Jest does not support testing this, throwing error that
createRange
is not defined.@wincent analysed this here:
The text was updated successfully, but these errors were encountered: