flowtip
flowtip copied to clipboard
Add browser tests
The simulated DOM used in jest tests isn't capable of providing the required layout information for flowtip to operate properly. (getBoundingClientRect
and getComputedStyle
are both stubbed to return constant mock results)
We need to set up in-browser tests (potentially using https://saucelabs.com/open-source) to create proper test coverage for flowtip-react-dom
.