![Brandon Dail on Twitter: "🤔 using window.getComputedStyle to write snapshot tests that check if the actual style of some node has changed. Maybe this could be a cool way to catch styling Brandon Dail on Twitter: "🤔 using window.getComputedStyle to write snapshot tests that check if the actual style of some node has changed. Maybe this could be a cool way to catch styling](https://pbs.twimg.com/media/D-LiOm_UIAAWRJV.jpg:large)
Brandon Dail on Twitter: "🤔 using window.getComputedStyle to write snapshot tests that check if the actual style of some node has changed. Maybe this could be a cool way to catch styling
![Performance: Avoid getComputedStyle (Known performance drag) on Sticky · Issue #8780 · microsoft/fluentui · GitHub Performance: Avoid getComputedStyle (Known performance drag) on Sticky · Issue #8780 · microsoft/fluentui · GitHub](https://user-images.githubusercontent.com/3789716/56402169-25d20e00-6211-11e9-987a-27ff34276dea.png)
Performance: Avoid getComputedStyle (Known performance drag) on Sticky · Issue #8780 · microsoft/fluentui · GitHub
![javascript - Why does getComputedStyle() in a JEST test return different results to computed styles in Chrome / Firefox DevTools - Stack Overflow javascript - Why does getComputedStyle() in a JEST test return different results to computed styles in Chrome / Firefox DevTools - Stack Overflow](https://i.stack.imgur.com/f81Qs.png)
javascript - Why does getComputedStyle() in a JEST test return different results to computed styles in Chrome / Firefox DevTools - Stack Overflow
![test(ui): Mock `window.getComputedStyle` by scttcper · Pull Request #34188 · getsentry/sentry · GitHub test(ui): Mock `window.getComputedStyle` by scttcper · Pull Request #34188 · getsentry/sentry · GitHub](https://user-images.githubusercontent.com/1400464/166567245-11521e65-2848-4388-b804-4f8082e3738d.png)
test(ui): Mock `window.getComputedStyle` by scttcper · Pull Request #34188 · getsentry/sentry · GitHub
![javascript - How to get the applied style from an element, excluding the default user agent styles - Stack Overflow javascript - How to get the applied style from an element, excluding the default user agent styles - Stack Overflow](https://i.stack.imgur.com/UBWAT.png)