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
The text was updated successfully, but these errors were encountered:
@sunesimonsen what would you say should happen here?
Sorry, something went wrong.
I cannot reproduce with:
const document = new jsdom.JSDOM( '<body><div data-test-id="insertReusableContentModalBlockList" class="blockList"><div class="searchFailure" data-test-id="search-failure">The search failed. Please try again.</div></div></body>' ).window.document; expect(document.body.firstChild, 'to satisfy', '<div></div>');
Could you share your assertion?
Ah, it's when there's a text node somewhere an element with children was expected:
const document = new jsdom.JSDOM('<div>foo</div>').window.document; return expect( document.body.firstChild, 'to satisfy', '<div><div><div>bar</div></div></div>' );
Leave the children as-is when converting an element to a satisfy spec
a39bfa7
Improves the output in a number of cases and fixes #294
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: