title: How to get css values of a dom element using Jest, Enzyme or any other unit testing library/framework?
body: <p>Is it possible to get any css value out of the DOM element being tested using Jest, Enzyme, Chai, etc.? From what I have seen so far, you can only get those css values that are mentioned in the code as style objects. But I'm not finding a way to get any other css value that the element can have in DOM.
  For example, if in the code using style object you provide an element a width of 50%, in unit testing its not possible to get the actual pixel value of that percentage width value. Or if you have not even mentioned width, height, etc., can you extract the derived css values that the element receives after being mounted in the DOM?</p>
  
  <p>My assumption is, because unit testing happens in a node environment simulating a DOM-like environment but not an actual browser, its not possible to get the actual DOM values in some cases.</p>