open-wc icon indicating copy to clipboard operation
open-wc copied to clipboard

fix: snapshot assertions are async

Open tpluscode opened this issue 1 year ago • 1 comments

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.

tpluscode avatar Dec 06 '24 09:12 tpluscode

🦋 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

changeset-bot[bot] avatar Dec 06 '24 09:12 changeset-bot[bot]