react-tippy icon indicating copy to clipboard operation
react-tippy copied to clipboard

PR for usage in non-browser environments

Open Metavirulent opened this issue 8 years ago • 1 comments

I created PR #25 so react-tippy can be used in non-browser environment. This is critical because otherwise the component breaks all tests that don't run on selenium, e.g. jest or enzyme tests that mount the component to unit test it.

Metavirulent avatar Sep 12 '17 09:09 Metavirulent

Try checking out using it with enzyme, you can gather a shallow/deep JSON snapshot.

https://github.com/adriantoine/enzyme-to-json#helper

combizs avatar Jan 24 '18 23:01 combizs