Skip to content

Commit

Permalink
fix: make the test pass
Browse files Browse the repository at this point in the history
please combine me with the previous commit using "squash+merge"
  • Loading branch information
depoulo authored Nov 28, 2023
1 parent b12b4f4 commit e7aee18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/to-have-style.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function isSubset(styles, computedStyle) {
Object.entries(styles).every(
([prop, value]) =>
computedStyle[prop] === value ||
computedStyle.getPropertyValue(prop.toLowerCase()) === value,
computedStyle.getPropertyValue(prop) === value,
)
)
}
Expand Down

0 comments on commit e7aee18

Please sign in to comment.