open-wc
open-wc copied to clipboard
fix: snapshot assertions are async
What I did
I made the (not)equalSnapshot functions return a promise. Call without await causes an unhandled promise rejection, leading to green tests and no snapshot comparison actually running.
🦋 Changeset detected
Latest commit: 094242f8e9c5056b1be2b38da6fd3ddda206b4cc
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @open-wc/semantic-dom-diff | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR