![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
![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)
javascript - How to get the applied style from an element, excluding the default user agent styles - Stack Overflow
How to Get a CSS Property Value of an Element with JavaScript | by John Au-Yeung | JavaScript in Plain English
![How to test a Component's CSS styles with React-Testing-Library (RTL) and Styled Components. | by Ilya Zykin | Medium How to test a Component's CSS styles with React-Testing-Library (RTL) and Styled Components. | by Ilya Zykin | Medium](https://miro.medium.com/v2/resize:fit:1400/1*Y90C9YYIFRES8v7281gmJg.png)