diff --git a/src/to-have-style.js b/src/to-have-style.js index f78272ef..f4190d85 100644 --- a/src/to-have-style.js +++ b/src/to-have-style.js @@ -19,8 +19,7 @@ function getStyleDeclaration(document, css) { function isSubset(styles, computedStyle) { return Object.entries(styles).every( ([prop, value]) => - computedStyle.getPropertyValue(prop.toLowerCase()) === - value.toLowerCase(), + computedStyle.getPropertyValue(prop.toLowerCase()) === value ) }