question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[semantic-dom-diff] expect.dom.to.not.equal is not possible

See original GitHub issue

whether not is chained or not, the test always checks the dom is equal. this is true for dom, lightDom, and shadowDom

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bennypowerscommented, Sep 4, 2019

Oh stale, never change.

0reactions
rodrigo-garcia-leoncommented, Oct 8, 2019

Coolio 😎

Read more comments on GitHub >

github_iconTop Results From Across the Web

Testing: Semantic Dom Diff - Open Web Components
semantic -dom-diff allows diffing chunks of dom or HTML for semantic equality: whitespace and newlines are normalized; tags and attributes are printed on ......
Read more >
toHaveStyle does not compare empty values #272 - GitHub
We underlie on the DOM API to parse the expected CSS object in a CSS before we compare it against the element's computed...
Read more >
React Testing Library .toHaveTextContent exact match
I'd prefer a precise test that checks whether a specific element has certain text: import React from "react"; import "@testing-library/jest-dom ...
Read more >
Testing Workflow for Web Components - DEV Community ‍ ‍
Learn to test and debug your web component with open-wc tools so you can deploy or share your production-ready code with confidence.
Read more >
Verifying markup from a component - bUnit
This page covers the following verification approaches: Basic verification of raw markup; Semantic comparison of markup; Inspecting the individual DOM nodes in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found